ProgrammerManual PTX‐S828
Chapter4IPDSCommands 109 260071‐001A
Table 3. An Example of an IPDS Command Sequence (continued)
Printer Command CMD Command Name Description
State Direction
Page BP Begin Page Enter Page State
Sequence WT Write Text Send Text Data to Printer
IO Include Overlay Print Overlay
IPS Include Page Segment Print Page Segment
Block WIC Write Image Content Start Page Segment Image Block
State State
WI Write Image Send Image Data to Printer
WI Write Image Send Image Data to Printer
End Block END End End Image Block State
State WT Write Text Send Text Data to Printer
WT Write Text Send Text Data to Printer
IO Include Overlay Print Overlay
IPS Include Pate Segment Print Page Segment
EP End Page Complete All Printing and Return to
Home State
ACK Acknowledgement Response Acknowledge Successful Operation
Printer Initialization and Preparation Sequence
Before any printing begins, it is necessary to specify certain parameters and conditions for the printer. The
following sample command sequence accomplishes this task:
● STM (Sense Type and Model)
● ACK (Acknowledgment Reply)
● SHS (Set Home State)
● LPD (Logical Page Descriptor)
● LPP (Logical Page Position)
● LCC (Load Copy Control)
● LFE (Load Font Equivalence)
● ACK (Acknowledgment Reply).
Note: This sequence is only a typical example. It is not mandatory for the host to send all of these
commands.
STM (Sense Type and Model): The host sends the STM command to sense the printer characteristics.
ACK (Acknowledgment Reply): If the previous command had the ARQ bit on, the printer responds with
type and model information to the host. This information includes printer number (S828), model, and the
various function set vector information.
SHS (Set Home State): The host sends the SHS command to make sure the printer is in the home state
before the start of a print job.
LPD (Logical Page Descriptor): The LPD command sets print characteristics for the logical page. These
parameters include:
● Page size
● Initial coordinates
● Initial left margin
● Intercharacter increment
● Baseline increment
● Font ID