Printronix S828 Programmer's Manual page 113

Table of Contents

Advertisement

Programmer Manual 
 
PTX‐S828 
WT (Write Text): This command is repeated at this point in the sequence to illustrate that additional text
data can be added to the page segment. In addition to zero or more of the WT commands, this segment
could also include additional graphics data, image data, or bar code data.
EP (End Page): The EP command causes the printer to leave the page segment state and return to the
home state Printronix recommends that this command contain an acknowledgment request to let you know
of successful execution of the page segment.
ACK (Acknowledgment Reply): If the previous command had the ARQ bit on, the printer responds with
the ACK command to inform the host of successful execution of all the previous commands. This
command indicates to the host that the printer has accepted all the segment data and stored this
information for later printing.
Overlay Sequence
The overlay sequence creates one or more overlays for later printing. The following command sequence
illustrates the loading of a typical overlay:
● BO (Begin Overlay)
● WT (Write Text)
● IO (Include Overlay)
● WGC (Write Graphics Control)
● WG (Write Graphics)
● END (End)
● WT (Write Text)
● IO (Include Overlay)
● IPS (Include Page Segment)
● EP (End Page)
● ACK (Acknowledgment Reply).
Note: This sequence is only an example. An overlay can contain any combination of text, image blocks,
graphics blocks, bar code blocks, page segments, or overlays.
BO (Begin Overlay): The host sends the BO command to the printer causing the printer to leave the
home state and enter the overlay state. The overlay state creates an overlay of data to save within the
printer for later printing. The BO command contains an identifier (ID) for later use in selecting this overlay.
WT (Write Text): The WT command sends text data to the printer. Because the printer is currently in an
overlay state, this information does not print at this time. Instead, the data becomes part of the overlay.
The host can send multiple WT commands to the printer while in the overlay state.
IO (Include Overlay): The IO command causes a previously stored overlay to merge onto the current
overlay. This command contains an ID field that selects the desired overlay.
WGC (Write Graphics Control): The WGC command causes the printer to enter the graphics block state.
Parameters in this command specify the placement, size, and orientation of the graphics block.
WG (Write Graphics): The WG command sends graphics data to the printer. The graphics data
(contained in drawing orders) specifies the various elements of the graphic. These include color, size, line
type, line width, and other parameters. One or more WG commands present the graphics picture.
END (End): The END command terminates the graphics block state. The printer remains in the overlay
state with the graphics block as part of the overlay.
WT (Write Text): This command is repeated at this point in the sequence to illustrate that additional text
data can be added to the overlay. In addition to zero or more of the WT commands, image data, bar code
data, or additional graphics data could also be included in the overlay.
Chapter 4 IPDS Commands 
111 
260071‐001A 

Advertisement

Table of Contents
loading

Table of Contents