Lexmark 6500e Technical Reference Manual page 166

Forms and bar code card 3.2
Hide thumbs Also See for 6500e:
Table of Contents

Advertisement

GS: hex 1D, decimal 29
Comma: hex 2C, decimal 44
1
MaxiCode Typeface Call method
The existing Bar Code Technical Reference manual version 3.2, and the HP BarDIMM
Technical Reference manual from version 3.0 onward are in conflict over how the separator
works, and how Mode 2 and Mode 3 is specified.
A structured append is covered in the MaxiCode AIM specification, which allows up to eight
MaxiCode symbols to be chained together as one. However, there are no bar code readers
that can decode such a combined bar code series.
The SuchyMIPS BCE supports structured appends, and so does HP BDP. That is, they can
parse the structured append (described in the following paragraph), but they do not fully
implement it.
A structured append consists of 4 bytes:
A number 1 through 8 that labels each individual MaxiCode in the structured append
A separator character, either a comma or a GS (which is ASCII 29)
A number 1 through 8 that represents the maximum number of MaxiCode symbols in the
structured append
Another separator character
For example, the only valid MaxiCode that is supported should be a single symbol, specified
as:
1,1,01234567...... where 1,1, represents the Structured Append; and
01234567.... represents the rest of the MaxiCode data structure.
The HP spec BarDIMM specification version 3.0 and later is consistent with this PCL
datastream calling sequence:
<Esc>(s24800T1,1,x,01234567..... where x is either a 2 or 3, corresponding to
MaxiCode Mode 2 or Mode 3
Mode 2 encodes numeric-only data, and Mode 3 allows a reduced amount of alphanumeric
data.
Note that the Mode of the MaxiCode is specified within the input data, after the typeface
command 24800T. If the 2 extra bytes (Mode number 2 or 3, plus a separator) are included in
the input data, then the BCE will throw an error.
Users should add additional parsing that examines input data:
Byte 5 for either a "2" or a "3"
Byte 6 for a separator character
If they are found, then remove them, and pass the 4 structured append bytes and the rest of
the input data to the BCE. This method will still allow existing HP-coded datastreams to work
on HP BDP, while allowing the Forms and Bar Code Card to work correctly, as well.
Deviations
163

Advertisement

Table of Contents
loading

Table of Contents