beautypg.com

Page segment sequence – Compuprint 4247-Z03 Programmer Manual User Manual

Page 114

background image

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 (4247), 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:
v

Page size

v

Initial coordinates

v

Initial left margin

v

Intercharacter increment

v

Baseline increment

v

Font ID

v

Text color.

LPP (Logical Page Position): The LPP command positions the upper-left corner of the logical page (as
defined by the LPD command) with respect to the top-of-form setting. This command locates the logical
page on the physical medium.

LCC (Load Copy Control): The LCC command specifies which overlays to include on each subsequent
page and which suppressions to activate for each page. Suppression allows selective suppression of data
while printing.

LFE (Load Font Equivalence): The LFE command maps a local font identifier (from within the text,
graphics, or bar code data) to a global ID used for resource management. This command also specifies
for each font attributes, such as bold, double-strike, double-wide, and italics.

ACK (Acknowledgment Reply): If the previous command had the ARQ bit on, the printer responds with
the ACK reply to inform the host of successful execution of all the previous commands. This command
indicates to the host that the printer is now ready to accept data for print operations. This is the end of the
initialization and preparation sequence.

Page Segment Sequence

The page segment sequence creates one or more page segments for later printing. The following
command sequence illustrates the loading of a sample page segment:
v

BPS (Begin Page Segment)

v

WT (Write Text)

v

WIC (Write Image Control)

v

WI (Write Image)

v

END (End)

v

WT (Write Text)

v

EP (End Page)

v

ACK (Acknowledgment Reply).

Note: This sequence is only an example. A page segment can contain any combination of text, image,

graphics, or bar code data.

BPS (Begin Page Segment): The host sends the BPS command to the printer, causing the printer to
leave the home state and enter the page segment state. The page segment state creates a segment of
page data to save within the printer for later printing. The BPS command contains an identifier (ID) for
later use in selecting this segment. This segment can contain combinations of text, images, bar codes, and
graphics.

94

Programmer Manual

This manual is related to the following products: