Manual

Command sequence > 13
C
OMMAND
SEQUENCE
The command sequence for barcode printing is the same as for printing text after specifying
the font.
When printing text, commands are arranged in the following order:
1. Specify font; specify print position; draw text;
2. Specify font; specify print position; draw text;
3. Specify font; specify print position; draw text.
When printing a barcode, the font specification is simply replaced by a barcode
specification:
1. Specify font; specify print position; draw text;
2. Specify barcode; specify print position; draw barcode;
3. Specify font; specify print position; draw text.
C
OMMAND
EXAMPLES
D
ATA
FOR
TEXT
PRINTING
The sequence is:
<ESC>(10U<ESC>(s0p10h12v0s0b4099T
<ESC>*p#x#Yabcdefghij
Construction is as follows:
D
ATA
FOR
UPC–A
BARCODE
PRINTING
(
EXAMPLE
1)
In this example only the T-parameter is used. All others have been omitted and therefore
print with their default values. Since the chosen barcode is UPC–A, it is an 11-digit number
beginning with the added character “o”.
The sequence is:
<ESC>(s24600T<ESC>*p#x#Y01234567890
Construction is as follows:
COMMAND COMMAND DETAIL
Primary font <ESC>(10U<ESC>(s0p10h12v0s0b4099T
Print position <ESC>*p#x#Y
Text ab c d efgh i j
COMMAND COMMAND DETAIL
UPC–A
barcode
<ESC>(s24600T
Print position <ESC>*p#x#Y
Barcode data 01234567890