Write Text - Printronix S828 Programmer's Manual

Table of Contents

Advertisement

Programmer Manual 
If a Load Copy Control command refers to a suppression identifier that has not been specified as an
external value in an LE command, the identifier (external value) will map to itself. This is the only case
where the identifier will map to itself unless specified.
This mapping remains in effect until the printer receives another Load Equivalence command, at which
time its values will totally replace this mapping.
This command consists of a two-byte parameter followed by a list of 0 to 127 four-byte entries in the
following format:
Decimal
Hex
0-1
0-1
2-3
2-3
4-5
4-5
Notes:
1. Additional entries, each four bytes long, can follow this entry, using the same format as bytes 2
through 5.
2. The mapping of one internal ID to more than one external ID is an error.
Write Text (WT)
Length
D62D
One or More Text Controls and Text Characters.
The Write Text command writes text presentation data to the printer. This command is only valid if the
printer is in the overlay, page, or page segment state.
The DATA field in this command can contain one or more text controls and text characters. A text control
begins with the text control escape sequence introducer, 2BD3. The format for this control is:
2BD3
Length
Control
The length field of each text control is a one-byte value that gives the number of bytes in the text control.
This length value includes the length field itself but excludes the 2BD3 introducer. Multiple text controls
without intervening character data can chain together. Bit 7 (the least significant, or rightmost bit) of the
control field is the chain bit. If this bit is on, the following text control is chained to the previous control.
That is, chaining allows one escape sequence introducer for multiple text controls. With chaining, the first
text control contains the X'2BD3' introducer, and each subsequent text control starts with its own length
field, followed by its control field and any parameters for that control. The last text control in the chain
must have the chain bit off.
A Write Text command can span to another Write Text command. That is, if a Write Text command ends
after the control sequence has begun (the 2B has been received), and before all of the control sequence
parameters have been received, this Write Text command spans to the next Write Text command.
Spanning also occurs if a Write Text command ends between chained controls. Between the spanned
Write Text commands, only STM, XOA, and NOP commands are valid. All other commands received at
this time result in an error. The printer uses the following controls with the Write Text command:
Chapter 5 IPDS Programming Information 
Description
Mapping Type - X'0100' Is the Only Valid Value, Indicating Suppression
Equivalence Mapping.
Internal Value - Value of the Stored Parameter that the Begin Suppression and
End Suppression Controls use. Valid Values are from 1 to 255 (X'1' to X'FF').
External Value - Value that the Load Copy Control Command uses. This Is the
Value for Referencing the Internal Value. Valid Values are from 1 to 127 (X'1' to
X'7F').
Flag
Correlation ID (Optional)
Parameters
 
Data
150 
PTX‐S828 
260071‐001A 

Advertisement

Table of Contents
loading

Table of Contents