User Tools

Site Tools


zebra

This is an old revision of the document!


Zebra Label Printer

My printer

Model ZD421T
Resolution 203 dpi

Resources

ZPL

It is possible to make newlines for every new command. Some tutorials tend to stack several related, but different, commands on the same line.

^XA
 
^FX The FX command starts a comment that ends at the next tilde 
or caret, but should be correctly terminated with a field separator command/symbol ^FS
 
^FX Print a box, 80 by 80 points (1cm) ^FS
^FO16,8^GB80,80,5^FS
 
^XZ

38 x 13 mm Labels

Seems to be offset even though I specify dimensions. This ZPL places a box in the upper left corner and puts a text on the label

^XA
 
^FO16,8^GB80,80,5^FS
^FO100,30^A0,40^FDWorks!^FS
 
^XZ

Apparently, the width is set to 330 points by the PC software, can be read by following commands

^XA
^HH
^XZ

And can be updated with

^XA
^PW304
^XZ
zebra.1735607583.txt.gz · Last modified: 2024/12/31 01:13 by utedass

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki