Zebra 01219-901 User Manual

Page of 116
Programming
Software Command Syntax
42
P1003643-001
TTP 1020™/TTP 1030™ Technical Manual
03/03/2009
Writes data to the bar code field reserved by the <esc>BS command.
NUL must be placed at the end of the bar code data.
Any invalid bar code character terminates the command.
Graphics Commands
Sends one line of dot data. This command is used to build images, one dot line at a time.
ESC BW
n1 nx
Barcode Write
1B
42 57
n1
nx hex
027
066 087
n1
nx decimal
n1
Specifies the field No. Range 0 to 15. Fields can be specified in any order but other 
values than 0 to 15 are ignored.
n2 . . . nx Specifies bar code data bytes.
Example • 
Will print one barcode with height = 10 mm and moved 15 mm to the right.
<ESC>BS<h00><h00><h32><h00><h00><h0C><h00><h50><h00><h02><h00>«»
<ESC>BW<h00>733104000099<h00>«»
<RS>«»
ESC s
n
Send dot line
1B
73
n hex
027
115
n decimal
n
Determines the number of bytes.
<data>
1–54 bytes of data
Caution • 
Always send the No. of bytes that you specify! 
If more than the specified No. of bytes are received, the rest of the bytes will be interpreted as 
text or commands. This can cause any kind of problems in the printer as graphics data can 
contain any hex value. 
If you specify less data then the actual printhead width, the printer will fill the rest of the dot 
line with spaces.