Write Text (Wt) - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

Presentation Text Command Set
This mapping remains in effect until the printer receives another Load
Equivalence command, at which time its values totally replaces 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:
Table 47. Load Equivalence
Byte
Value
0-1
X
'
0100
2-3
X
'
0001
4-5
X
'
0001
6-509
Notes:
1. Additional entries, each four bytes long, can follow this entry, using the same
2. The mapping of one internal ID to more than one external ID is an error.
3. If more than 127 LE entries are specified, exception X

Write Text (WT)

Length
D62D
Flag
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:
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
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.
62
6400 IPDS
Description
'
Mapping Type - X
indicating Suppression Mapping.
'
- X
'
00FF
'
Internal Value - Value of the Stored Parameter that
the Begin Suppression and End Suppression
Controls use.
'
- X
'
007F
'
External Value - Value that the Load Copy Control
Command uses.
Zero or more additional entries analogous to Bytes
2-5
format as bytes 2 through 5.
Correlation ID
(Optional)
2BD3
Length
Control
' 2BD3 ' introducer, and each subsequent text control starts with its own
'
0100
'
Is the only valid value,
DATA
Parameters
Error Code
X02C6..02
'
X
'
02C1..02
X
'
02C8..02
X
'
02C8..02
' 0202..02 ' is reported.
'
'
'

Advertisement

Table of Contents
loading

Table of Contents