Barcode Print+ User's Guide

2
2 Breakdown of Control Codes
2.1 1-D Barcodes
Each barcode comprises a sequence of PCL commands and control codes. Control code parameters can be
customised to change the code’s size, shape, and content.
Example
1
2
4
5
6
7
8
ESC(s
0p
30v
,,,b
,,,s
h
24600T
123456789123
Barcode Print PCL Command
Barcode Data
#
Name
Parameter
Comments
1
Escape code
ESC(s
ESC is ASCII value 27
2
Human-readable information
#p
Default value = 0p
3
Barcode height
#v
Default value = 0v
4
Barcode width
#b
Default value = ,,,b
5
Barcode space width
#s
Default value = ,,,s
6
Human-readable text font
#h
Default value = h
7
Barcode name
PCL_BARCODE_NAMET
See Overview of Barcode Types
8
Barcode data
N/A
User-defined information
NOTE
To ensure good readability, each barcode must be programmed correctly.
If the “b” and “s” parameters are identical, the “s” parameter does not need to be specified.
Do not use decimal values (e.g. “1.5”).
2.1.1 Human-readable information (“p”)
Specifies if a caption is printed with the barcode.
ESC(s0p
30v,,,b,,,sh24600T123456789123
Value
Description
0
Default (print)
1
Do not print human-readable text
2
Embed human-readable text
3
Half-embed human-readable text
4
Print human-readable text under the code