P-touch 2430 PC: Unterschied zwischen den Versionen

Zeile 5: Zeile 5:
 
|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          = Pivmnt_eth_bot.jpeg
+
|image          = 2430_PC_project_image.jpg
 
|imagesize      = 280
 
|imagesize      = 280
 
|version        = 0.5
 
|version        = 0.5
Zeile 32: Zeile 32:
  
 
P-touch 2430 PC via MiniUSB an den Rechner anschließen
 
P-touch 2430 PC via MiniUSB an den Rechner anschließen
 +
 +
<gallery>
 +
Datei:2430_PC_setup.jpg
 +
</gallery>
  
 
=== Nutzung ===
 
=== Nutzung ===

Version vom 4. Februar 2018, 22:56 Uhr

Crystal Clear action run.png
P-touch 2430 PC

Status: experimentell

2430 PC project image.jpg
Beschreibung Labelmaker via usb nutzen (später mal mit webgui)
Autor: wu
Version 0.5
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