Appendix G – Bar Code Details
234
Class Series 2 Programmer’s Manual
The following example prints an EAN128 bar code:
<STX>L
D11<CR>
1W1I000000025002512345&G10Z2133021AK<CR>
121100000000100Barcode W1I<CR>
E
Barcode W1I
When scanned this bar code will decode as follows:
[C][FNC1]1234[B]5[F1]10Z[C]213302[B]1AK(81)
W1J: Code 128 (with Auto Subset Switching)
Valid characters: The entire 128 ASCII character set.
Variable
length
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 the narrow bar width, 3 times the
narrow bar width, and 4 times the narrow bar width).
This printer supports the Code 128 subsets A, B, and C. If the data begins with at least
four numeric characters the default start code is subset C. If there is a non-numeric in
the first four characters or there are less than four then the default start code is subset
B. Subset switching between B and C is based on the following rules:
1.
If in subset C and there are an odd number of numeric digits, subset B will be set
prior to the last digit.
2.
If four or more numeric digits appear consecutively while in subset B, the character
code C will be set prior to the digits. If there is an odd number of numerics already in
B, the first numeric will be placed in B with the others in C.
3.
When in subset C and a non-numeric occurs, subset B will be inserted prior to the
character.
Note that there is no auto switching from, or to, subset A. Standard switches are still
used. See table below.
Subset A:
Includes all of the standard uppercase alphanumeric keyboard characters
plus the control and special characters.
Subset B:
Includes all of the standard uppercase alphanumeric keyboard characters
plus the lowercase alphabetic and special characters.
Subset C:
Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as
special characters. Code128 Subset C is used for double density encoding of numeric
data.
Special Character Handling:
Characters with an ASCII value greater than 95 are
considered special characters. To access these values, a two-character reference table is
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: ......