Write bar code control (wbcc), Bar code area position (bcap) – Compuprint 4247-Z03 Programmer Manual User Manual
Page 201
Write Bar Code Control (WBCC)
Length
D680
Flag
Correlation ID (Optional)
DATA
BCAP
BCOC
BCDD
The Write Bar Code Control command causes the printer to enter the bar code block state in the current
page, overlay, or page segment state. The parameters of this command define the size, placement, and
orientation of the bar code block. Parameters in this command also establish the initial conditions for
interpreting the bar code data.
Note: The quality of the bar code output is affected by the bar code mode and direction parameter values
selected at the operator panel (see the User’s Guide for your model printer), and by the Print
Quality Control command (see “Print Quality Control (PQC)” on page 132).
A bar code block contains one or more bar code symbols with or without human readable interpretation of
the bar encoded information. Because an important application of bar code printing is printing bar code
symbols on labels, means are provided in the function set to repeat symbols. The repeated symbols must
be of the same type, but the length and content of the variable data can be different. General parameters
applying to all the repeated symbols are in a single Write Bar Code Control command. Parameters that
always change or can change from symbol to symbol are in the Write Bar Code command. A separate
Write Bar Code command must be used with the variable bar code data for each symbol.
Upon receiving the Write Bar Code Control command, the printer enters the appropriate bar code block
state. The printer then initializes control for processing bar code symbols in subsequent Write Bar Code
commands. Receiving the End Code in the bar code block state terminates the processing of bar code
data.
The Write Bar Code Control command data contains three consecutive structured fields:
v
Bar Code Area Position (BCAP)
v
Bar Code Output Control (BCOC)
v
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.
Note: For more detailed information on bar codes, see Appendix C, “4247 Bar Code and OCR Printing
Bar Code Area Position (BCAP)
BCAP
BCOC
BCDD
Length
ID
Data
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 block
relative to the reference coordinate system. The format of the BCAP field is:
Decimal
Hex
Content
Description
0-1
0-1
000B - XXXX
Length of This Field
2-3
2-3
AC6B
Structured Field ID
Chapter 4. IPDS Programming Information
181