Brother International DCP-L5600DN Barcode Print Users Guide - Page 7

Breakdown of Control Codes

Page 7 highlights

3 Breakdown of Control Codes 3.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 3 1 2 3 4 5 6 7 8         ESC(s0p 30v ,,,b,,,sh24600T 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 8 Barcode data PCL_BARCODE_NAMET See Overview of Barcode Types 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"). 3.1.2 Human-readable information ("p") Specifies if a caption is printed with the barcode. ESC(s0p 30v,,,b,,,sh24600T123456789123 Value 0 1 2 3 4 Description Default (print) Do not print human-readable text Embed human-readable text Half-embed human-readable text Print human-readable text under the code 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19

6
3
3
Breakdown of Control Codes
3.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
3
4
5
6
7
8
ESC
(s0p 30v ,,,b,,,sh24600T 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
_
NAME
T
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”).
3.1.2 Human-
readable information (“p”)
Specifies if a caption is printed with the barcode.
ESC
(s0p30v,,,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