Write Bar Code Control - Printronix S828 Programmer's Manual

Table of Contents

Advertisement

Programmer Manual 
Write Bar Code Control (WBCC)
Length
D680
Flag
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 Administrators Manual for your model printer), and by the Print
Quality Control command (see "Print Quality Control (PQC)").
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:
● Bar Code Area Position (BCAP)
● Bar Code Output Control (BCOC)
● 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, "S828 Bar Code and OCR Printing
Options,".
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
0-1
0-1
2-3
2-3
Chapter 5 IPDS Programming Information 
Correlation ID (Optional)
Content
000B - XXXX
AC6B
 
DATA
Description
Length of This Field
Structured Field ID
197 
PTX‐S828 
260071‐001A 

Advertisement

Table of Contents
loading

Table of Contents