Appendix G – Bar Code Details
230
Class Series 2 Programmer’s Manual
W1g / W1G: USD-8 (Code 11)
Valid Characters: 0-9,-
Bar Code Data String Length: Variable, typical max 41 characters
Human Readable: W1G; and, Non-Human Readable: W1g
USD-8 (Code 11) is a bar code that encodes the ten digits and the dash (-) character.
An additional character serves as the start and stop indicator. Each character has three
bars and two spaces for a total of five elements. Of these five elements, two are of
medium width and three are narrow, except for the “0”, “9”, and “-“ characters, which
have only one wide element and four narrow elements.
The narrow bar size is specified in DPL by the narrow bar parameter, the medium is
specified in DPL by the wide bar parameter and the wide bar is fixed at 2 times the
medium bar minus the narrow bar.
DPL calculates two checksum characters, C and K, and automatically places them prior
to the stop character. The following example prints a Code11 bar code:
<STX>L
D11
1W1G00000015001500123456789-<CR>
121100000000100Barcode W1G<CR>
E
Barcode W1G
W1I: EAN128 (with Auto Subset Switching)
Valid characters: The entire 128 ASCII character set.
Variable length, minimum 4 characters
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 then the default start code is subset B. The next character after
start is always FNC1. Subset switching between B and C is performed based on rules as
below:
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.
3.
When in subset C and a non-numeric occurs, subset B will be inserted prior to the
character.
Summary of Contents for A-Class
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: ......