W1d / w1d: qr code – Datamax-O'Neil Class Series Programmer’s Manual User Manual
Page 213

Appendix G – Barcode Details
Class Series Programmer’s Manual
199
W1d / W1D: QR Code
Valid Characters: Numeric Data, Alphanumeric Data, 8-bit byte data, and Kanji characters
Variable Length: The two-dimensional bar code (as documented in AIM, Version 7.0).
Syntax: a W1 b c d eee ffff gggg hh…h
Where:
Field
Valid Inputs
Meaning
a
1,2,3 and 4
Rotation
W1
W1
Fixed value, extended bar code set
b
D and d
Selects the QR bar code formatting mode, where:
D = Manual formatting. Allows the data string (hh…h) to be
entered with a comma (,) as a field separator; fields are
optional per QR Code specifications, and the first field
indicates Model 1 or Model 2 QR Code (Model 2 is the
default).
d = Automatic formatting. Allows the data string (hh…h) to
be data only.
c
1 to 9, A to Z, and a to z Module size horizontal multiplier Each cell in the bar code is
square, therefore ‘c’ and ‘d’ must be equal. Depending on the
conversion mode (
cell dimension of .01 inch or .1 mm.
d
1 to 9, A to Z, and a to z Module size vertical multiplier. (See explanation for ‘c’, above.)
eee
000 to 999
No effect; must be numeric
ffff
0000 to 9999
Label position, row
gggg
0000 to 9999
Label position, column (see Appendix J)
hh…h
Valid ASCII character
string, followed by (a)
termination character(s).
QR Code data string (see Generation Structure, below).
Generation Structure
The data input structure (hh…h) is as follows:
Auto Format (W1d)
With bar code identifier ‘d’, the data begins after the last character of the column position field,
and does not include any command characters. The data string is terminated with a termination
character, usually a 0x0d hex that occurs twice in succession. The bar code symbol will have the
following characteristics:
1. Model 2
2. Error Correction Code Level = ‘M’ (Standard Reliability Level)
3. Mask Selection = Automatic
4. Data Input Mode = Automatic
[1]
Example: