Writing /var/lib/dokuwiki/data/meta/tutorials/labeler.meta failed
tutorials:labeler
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:labeler [2019/06/12 00:42] – created admin | tutorials:labeler [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
export PREFIX=${HOME}/ | export PREFIX=${HOME}/ | ||
make install | make install | ||
+ | cd ~/ | ||
+ | xstow pt1230 | ||
+ | * textlabel generates images in bitmap format from text. For example: | ||
- | Instalarlo (utilizando el Makefile incluido) | + | textlabel --font "Times New Roman" " |
- | textlabel genera una imagen | + | * This generates |
- | ej: | + | ===== Multiline text ===== |
- | textlabel | + | * For multiline text use text-multi-line instead of textlabel. For example: |
- | Eso genera una imagen con textlabel de la palabra | + | text-multi-line -f "Courier New:bold" |
+ | line2 | ||
+ | line3 | ||
+ | line4" | pt1230 | ||
- | Si quiere generar etiquetas con múltiples líneas puede usar el comando | + | * This command generates a bitmap image with the text "line1 line2 line3 line4" separated in 4 lines and each centered. It automatically adjusts there size. The result is sent to the printer with pt1230 command. |
- | ej: | + | * " |
- | text-multi-line -f " | + | * You can print barcodes with this labeler using: |
- | line2 | + | |
- | line3 | + | |
- | line4" | pt1230 -d / | + | |
+ | bincodes -e 39 -b " | ||
- | Este comando genera el texto line1 line2 line3 line4 en cuatro líneas separadas. Automáticamente ajusta el tamaño de cada una de esas líneas para que entre en la cinta de la impresora y envía la imagen generada | + | ===== Printing graphics ===== |
+ | |||
+ | * Create your preferred logo in inkscape | ||
+ | * Be sure to rotate the image so that the width of the printer tape is in the x axis. | ||
+ | * Convert to two colors: black and white. (using the object properties) | ||
+ | * Export to png. Use a x resolution of 64 pixels | ||
+ | * Open in gimp. | ||
+ | * Layer-> | ||
+ | * Colors-> | ||
+ | * Select a threshold that produces a nice printable image (specially if it contains fonts) | ||
+ | * Export to xbm file format. | ||
+ | * Convert to pt1230 | ||
+ | |||
+ | bmtoa -char 01 filename.xbm | ||
+ | |||
+ | * pipe it to pt1230 for printing: | ||
+ | |||
+ | bmtoa -char 01 filename.xbm | pt1230 -d / | ||
- | La opción -c de pt1230 permite "no alimentar" | ||
- | bincodes -e 39 -b " |
tutorials/labeler.1560300120.txt.gz · Last modified: 2022/09/20 00:08 (external edit)