One-dimensional bar codes
20
PCL 5 emulation escape sequences
Command Function/Parameters
Esc
(s#P
or
AEC
)s#P
Determines the location of human-readable text printed with the bar code.
0 =
1 =
2 =
3 =
4 =
5 =
Use default value
Do not print text
Print text embedded
Print text half embedded
Print text under bar code
Print text above bar code
Add the preceding values to the following numbers to produce the intended effect:
10 =
10 =
20 =
100 =
Prints UPC-A checksum on the middle left of the bar code instead
of the bottom left
Prints start/stop * characters with Code 3 of 9 text
Formats German postal bar codes
Prints the checksum character with text
For UPC-E symbologies, checksum characters are printed if
human-readable text is specified. The checksum characters are
printed half-height if 100 is added to the p parameter.
Example:
Esc
(s13p24670T
Selects Code 3 of 9 with human-readable text half embedded and start/stop *
characters. Since parameters v, b, s, and h are not specified, their values default to:
v
b1, s1
b2, s2
h
0.4 inch
0.01 inch
0.03 inch
Automatically sized Courier Bold
Esc
(s#H
or
AEC
)s#H
Selects the font used for human-readable text. The numeric value of # is of the form
ABC, where:
A = style
B = size
C = typeface
0 =
1 =
2 =
3 =
4 =
0 =
0 =
1 =
2 =
3 =
4 =
5 =
Default (bold)
Regular
Italic
Bold
Bold Italic
Automatic font size (default)
Courier (default for all bar code symbologies)
Letter Gothic
Univers
Univers Condensed
CG-Times
OCR-B
Example:
Esc
(s304h24620T
Selects EAN/JAN-8 with automatically sized, CG Times Bold text. Since parameters
v, p, b, and s are not specified, their values default to:
v
p
b1, s1
b2, s2
b3, s3
b4, s4
0.7 inch
Print text half embedded
0.013 inch
0.027 inch
0.04 inch
0.053 inch