P-touch 2430 PC: Unterschied zwischen den Versionen

Wu (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Wu (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
|name            = P-touch 2430 PC
|name            = P-touch 2430 PC
|kategorie      = Hardware
|kategorie      = Hardware
|status          = experimentell
|status          = stable
|autor          = [[Benutzer:wu|wu]]
|autor          = [[Benutzer:wu|wu]]
|beschreibung    = Labelmaker via usb nutzen (später mal mit webgui)
|beschreibung    = Labelmaker via usb nutzen (später mal mit webgui)
|image          = 2430_PC_project_image.jpg
|image          = 2430_PC_project_image.jpg
|imagesize      = 280
|imagesize      = 280
|version        = 0.5
|version        = 1
}}
}}
[[Category:Hardware]]
[[Category:Hardware]]

Version vom 4. Februar 2018, 21:58 Uhr

P-touch 2430 PC

Status: stable

Beschreibung Labelmaker via usb nutzen (später mal mit webgui)
Autor: wu
Version 1
PayPal Spenden für P-touch 2430 PC


Setup

Netterweise gibt es hier ein Projekt:

https://mockmoon-cybernetics.ch/computer/p-touch2430pc/

das einfach clonen, vorher die passenden libs installieren dann compillieren

apt-get install autopoint
apt-get install libusb-1.0-0-dev
apt-get install libgd-dev
git clone https://mockmoon-cybernetics.ch/git/ptouch-print.git

autoreconf -i
./configure --prefix=/usr
make

P-touch 2430 PC via MiniUSB an den Rechner anschließen

Nutzung

./ptouch-print --font "Comic Sans MS:bold" --text "Sorry" "for your loss"

Druckt Text zweizeilig in hübscher Schriftart (sollte richtig geschrieben werden und installiert sein).

./ptouch-print --image backspacelogo.png

Druckt entweder das entsprechende Bild oder gibt die Größe des Bands in PX zurück, wenn das Bild zu groß ist. Bild muss S/W sein sonnst wird leer gedruckt :(

./ptouch-print --help 

folgende Optionen sind verfügbar:

usage: ./ptouch-print [options] <print-command(s)>
options:
        --font <file>           use font <file> or <name>
        --writepng <file>       instead of printing, write output to png file
                                This currently works only when using
                               EXACTLY ONE --text statement
print-commands:
        --image <file>          print the given image which must be a 2 color
                                (black/white) png
        --text <text>           Print 1-4 lines of text.
                                If the text contains spaces, use quotation marks
                                around it.
        --cutmark               Print a mark where the tape should be cut
        --fontsize              Manually set fontsize