Bar Code Command Set
•
Bar Code Data Descriptor (BCDD).
Each structured field contains a two byte length field, then a two byte structured
field ID, and finally a data field.
Bar Code Area Position (BCAP)
The Bar Code Area Position Control structured field is the first structured field in
the DATA portion of the Write Bar Code Control command. This field defines the
origin and orientation of the bar code object relative to the reference coordinate
system. The format of the BCAP field is:
BCAP BCOC BCDD
Length ID Data
Table 95. Bar Code Area Position
Data Area Value Description Error Code
0-1 X'000B'-X'xxxx' Length of Bar Code Area Position (BCAP) X'0202..05'
2-3 X'AC6B' Structured Field ID X'020B..05'
4-5 X'8000'-X'7FFF' Bar Code Object Origin Xp, I, or I-Offset coordinate
position (in 1440ths)
X'0411..00'
6-7 X'8000'-X'7FFF' Bar Code Object Origin Yp, B, or B-Offset
coordinate position (in 1440ths)
X'0411..00'
8-9
X'0000'
X'2D00'
X'5A00'
X'8700'
Orientation Of Bar Code Object
0 degrees
90 degrees
180 degrees
270 degrees
X'0203..05'
10
X'00'
X'20'
X'40'
X'60'
X'A0'
Coordinate Reference System
Absolute I, Absolute B
Absolute I, Relative B
Relative I, Absolute B
Relative I, Relative B
Page Xp, Yp
X'0204..05'
11-n Ignored
Figure 22 shows the BCAP field specifying the top left reference point, or origin,
for the bar code object, relative to the logical page. The figure shows 0-degree
and 90-degree rotations; the printers also support 180-degree and 270-degree
rotations.
118 6400 IPDS