Appendix G – Bar Code Details
206
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 MP Compact4 Mark II
Page 2: ......
Page 4: ......
Page 20: ...Overview 8 Class Series 2 Programmer s Manual...
Page 28: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual...
Page 136: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual...
Page 156: ...Label Formatting Command Functions 144 Class Series 2 Programmer s Manual...
Page 176: ...Generating Label Formats 164 Class Series 2 Programmer s Manual...
Page 188: ...Appendix B Sample Programs 176 Class Series 2 Programmer s Manual...
Page 196: ...Appendix D Reset Codes 184 Class Series 2 Programmer s Manual...
Page 208: ...Appendix E Single Byte Symbol Sets 196 Class Series 2 Programmer s Manual...
Page 260: ...Appendix G Bar Code Details 248 Class Series 2 Programmer s Manual...
Page 304: ...Appendix Q Plug and Play IDs 292 Class Series 2 Programmer s Manual...
Page 308: ...Appendix R Line Mode 296 Class Series 2 Programmer s Manual...
Page 320: ...Appendix T WiFi Region Country Codes 308 Class Series 2 Programmer s Manual...
Page 330: ......