Appendix G – Bar Code Details
208
Class Series 2 Programmer’s Manual
Control Codes:
By sending these control codes, control characters can be encoded into
a Code 128 Subset A bar code (e.g., ABC{DE will be encoded as ABC<ESC>DE):
Control Code in the Bar Code Data Stream
Encoded Control Character Result
` NUL
a through z
1 - 26
{ ESC
| FS
} GS
~ RS
ASCII 127
US
The following example prints a Code 128 bar code:
<STX>L
D11<CR>
1E000000015010001234567890<CR>
121100000000100Barcode E<CR>
E
F: EAN-13
Valid Characters: 0-9
Length: 13 digits. If the user provides 12 digits, the printer will compute the checksum.
If the user provides the checksum, the printer will check that it matches the expected
checksum. If it does not match, the printer will print all zeros and the expected
checksum. See Appendix O.
Valid bar widths: The fourth character of record is the width of the narrow bar in dots.
All other bars are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow
bar width).
The following example prints an EAN-13 bar code:
<STX>L
D11<CR>
1F0000000150100012345678901<CR>
121100000000100Barcode F<CR>
E
Summary of Contents for A-Class
Page 2: ......
Page 3: ......
Page 5: ......
Page 6: ......
Page 22: ...Overview 8 Class Series 2 Programmer s Manual ...
Page 30: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual ...
Page 138: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual ...
Page 160: ...Label Formatting Command Functions 146 Class Series 2 Programmer s Manual ...
Page 180: ...Generating Label Formats 166 Class Series 2 Programmer s Manual ...
Page 192: ...Appendix B Sample Programs 178 Class Series 2 Programmer s Manual ...
Page 200: ...Appendix D Reset Codes 186 Class Series 2 Programmer s Manual ...
Page 212: ...Appendix E Single Byte Symbol Sets 198 Class Series 2 Programmer s Manual ...
Page 264: ...Appendix G Bar Code Details 250 Class Series 2 Programmer s Manual ...
Page 308: ...Appendix Q Plug and Play IDs 294 Class Series 2 Programmer s Manual ...
Page 312: ...Appendix R Line Mode 298 Class Series 2 Programmer s Manual ...
Page 324: ...Appendix T WiFi Region Country Codes 310 Class Series 2 Programmer s Manual ...
Page 334: ......