Zebra 01219-901 User Manual

Page of 116
41
Programming
Software Command Syntax
03/03/2009
TTP 1020™/TTP 1030™ Technical Manual
P1003643-001
Barcode Commands
Clears the bar code field reserved by command ESC BS.
Bar codes can only be printed in portrait mode unless fixed page length is selected.
The command reserves an information field as a bar code field. The command also identifies 
the type, number of digits, and the configuration of bars to be placed in the bar code field.
ESC BC
n
Barcode Clear
1B
42 43
n hex
027
067 068 n decimal
n Specifies which bar code field to clear. The range is 0 to 15. The fields may be cleared in 
any order. 
ESC BS
n1 ... nx
Barcode field Specify
1B
42 53 n1
...
n11 hex
027
66 83 n1
...
n11 decimal
n1
Specifies the bar code field No. (0—15). Bar code fields may be specified in any 
order. 
n2n3
Sets the X coordinate of the bar code field origin (n2 is the higher-order and n3 the 
lower-order byte).
n2 and n3 must be 1-byte hexadecimal or decimal numbers. The values must not 
place the bar code outside the total pixel count that can be handled by the printer.
n4n5
Specifies the Y coordinate of the bar code field position, (n4 is the high, and n5 the 
lower-order byte).
n4 and n5 must be 1-byte hexadecimal or decimal numbers.
n6
Specifies the number of bar code digits, but is ignored for EAN/UPC-A.
n7n8
Specifies the height of the bars. 
n9
Specifies the type of bar code. The following types are supported.
n9 = 0 EAN 13 and UPC-A. The printer calculates the necessary check digit. For UPC-A, 
set n9 to 0 and insert a prefix "0" before the 11 digit data string.
n10
Specifies the thickness of the narrow bar, not used but must be set to 2.
n11
Specifies the wide-bar-to-narrow-bar ratio. Not used but must be set to 0.