Two-dimensional bar codes
Bar code descriptor for PDF417 (Lexmark)
Bytes
MSB
0-1
Symbology
ID byte 1
(00x)
2-3
Reserved
4-5
X
dimension
byte 1 (in
Units)
LSB
Range
Symbology
n/a
ID byte 2
(03x)
Units
0=Default
1=1/300" units
2=1/600" units
3=1/1200" units
X
240-12000 (dec)
dimension
byte 2 (in
units)
Two-dimensional bar codes
Default
(if not
specified) Definition
n/a
Required.
The two bytes with values 00 and
03 (hex) or 0 and 3 (dec) signify the
symbology. All bar code descriptors
must reserve the first two bytes for
the symbology ID so the remaining
bytes can be interpreted
accordingly because most
descriptors are of different sizes
and information.
• 0 or 2
Optional.
(dec)
Sets the units used in specifying
any further parameters or
or
dimensions. The default value is
• 00 or 02
1/600", which is either 00 (hex) or
(hex)
02 (hex).
• 945
Optional.
(dec)
Sets the X dimension of the
module (white or black rectangle)
or
in 100th of an inch.
• 03 B1
Note: Values that go beyond the
(hex)
defined range will be appropriately
clipped and set to the minimum
and maximum values.
To set the X dimension to default at
600 dpi requires a value of 9.45,
which is specified as 945 (dec) or
03 B1 (hex).
The Units enumeration would be
set to 02 (hex) (or 00 (hex)), and
these two bytes would be 03 (hex)
and B1 (hex).
48