Datamax E-Class Mark II Programmer's Manual page 242

Class series ii
Hide thumbs Also See for E-Class Mark II:
Table of Contents

Advertisement

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
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.
230
Appendix G – Bar Code Details
Barcode W1G
Class Series 2 Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents