Bar code output control (bcoc) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 203
If byte A equals X'20', the absolute I and relative B coordinates determine the top left corner. BCAP bytes
4 and 5 specify the text inline coordinate. BCAP bytes 6 and 7 add to the last text baseline coordinate
position prior to bar codes.
If byte A equals X'40', the relative I and absolute B coordinates determine the top left corner. BCAP bytes
4 and 5 add to the last text inline coordinate position prior to bar codes. BCAP bytes 6 and 7 specify the
text baseline coordinate.
If byte A equals X'60', the relative I and B coordinates determine the top left corner. BCAP bytes 4 and 5
add to the last text inline coordinate position prior to bar codes. BCAP bytes 6 and 7 add to the last text
baseline coordinate position prior to bar codes.
If byte A equals X'A0', the current logical page X and Y coordinates determine the origin. When the block
is within a page, BCAP bytes 4-7 specify the offset from the X-coordinate and Y-coordinate origin specified
in a previously received LPP command (or from the printer default coordinates if no LPP command
received). When the block is within an overlay that is invoked using an LCC command, BCAP bytes 4-7
specify the offset from the X
m
-coordinate and Y
m
-coordinate origin. When the block is within an overlay
that is invoked using an IO command, BCAP bytes 4-7 specify the offset from the X-coordinate and
Y-coordinate origin specified in the IO command.
When you use the X,Y coordinate system or the I,B coordinate system with the inline orientation equal to 0
degrees, you must use the 0 or 90 degree orientation for bar codes.
When you use the I,B reference system and the inline orientation is 180 degrees, you must use the 180 or
270 degree orientation for bar codes.
Bar Code Output Control (BCOC)
BCAP
BCOC
BCDD
Length
ID
Data
The Bar Code Output Control structured field is the second structured field in the DATA portion of the Write
Bar Code Control command. This field specifies the mapping option for the bar code block. This field is
optional and may not be present in the Write Bar Code Control command.
If the BCOC field is not present, the bar code block is equal to the bar code medium presentation space.
The format of the BCOC field is:
Decimal
Hex
Content
Description
0-1
0-1
0010 - XXXX
Length of This Structured Field
2-3
2-3
A66B
Structured Field ID
4
4
00
Unit Base (10 in.)
01
Unit Base (10 cm)
5-6
5-6
05A0 - 7FFF
Units per Unit Base (10 in.)
1626 - 7FFF
Units per Unit Base (10 cm)
7-8
7-8
1 - 7FFF
Block Width (X-Extent of Block)
FFFF
Use LPD Value
9-10
9-A
1 - 7FFF
Block Height (Y-Extent of Block)
FFFF
Use LPD Value
11
B
30
Area Mapping Option - Position
Chapter 4. IPDS Programming Information
183