Unit 5: Bar Code Commands
Page 5-2 SATO D512 PCL Programming Manual
BAR CODE COMMANDS
Table 5-1: PCL Emulation Escape Sequences
Command / Parameters Function / Result
ESC
(s#P
or
ESC
)s#P
Determines the location of human-readable text printed with the bar
code.
0 Use default value
1 Do not print text
4 Print text under bar code
5 Print text above bar code
Example:
ESC
(s4p24670T
Select Code 3 of 9 with human-readable text under the barcode. Because
the v and h parameters are not specified, their values default to:
v 0.4 inch
h automatically sized Roman Pillar bold
ESC
(s#H
or
ESC
)s#H
Selects the font used for human-readable text. The numeric value of # is
of the form CBA, where:
A = typeface 0–5
Note: The valid range is 0 to 5,
regardless of the selection, the human-
readable is printed with Roman Pillar
Bold.
B = size 0 Automatic font size (default)
C = style 0 Default (bold)
1 Bold
2 Bold Italic
3 Bold
4 Bold Italic
Example:
ESC
(5p504h24671T
Selects Code 3 of 9 with check digit with automatically sized Roman
Pillar Bold Italic text above the bar code. Because the v parameter is not
specified, it value defaults to:
v 0.7 inch
ESC
(s#V
or
ESC
)s#V
Selects the height of the bar in points (1/72 inch).
Except in symbologies where #V is a fixed value, the bar height can be
varied from a minimum of 3 points (0.04 inch, 1 mm) to a maximum of
960 points (13.33 inch, 33 cm).
Example:
ESC
(s36v24750T
Selects the Codabar symbology with a bar height of 0.5 inch. Because
the p and h parameters are not specified, their values default to:
p Do not print text
h Not applicable because of #p parameter value