Bar Code Area Position (Bcap) - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

Bar Code Command Set
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:
Table 95. Bar Code Area Position
Data Area
Value
0-1
X
000B
'
2-3
X
AC6B
'
4-5
X
8000
'
6-7
X
8000
'
8-9
X
0000
'
X
2D00
'
X
5A00
'
X
8700
'
10
X
00
'
'
X
'
20
'
X
'
40
'
X
60
'
'
X
A0
'
'
11-n
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
Bar Code Data Descriptor (BCDD).
BCAP
BCOC
BCDD
Length
ID
Data
Description
-X
xxxx
Length of Bar Code Area Position (BCAP)
'
'
'
Structured Field ID
'
-X
7FFF
Bar Code Object Origin Xp, I, or I-Offset coordinate
'
'
'
position (in 1440ths)
-X
7FFF
Bar Code Object Origin Yp, B, or B-Offset
'
'
'
coordinate position (in 1440ths)
Orientation Of Bar Code Object
0 degrees
'
90 degrees
'
180 degrees
'
270 degrees
'
Coordinate Reference System
Absolute I, Absolute B
Absolute I, Relative B
Relative I, Absolute B
Relative I, Relative B
Page Xp, Yp
Ignored
Error Code
X
0202..05
'
'
X
020B..05
'
'
X
0411..00
'
'
X
0411..00
'
'
X
'
0203..05
'
X
0204..05
'
'

Advertisement

Table of Contents
loading

Table of Contents