Write Graphics Control (WGC)
Length
D684
Flag
The Write Graphics Control command causes the printer to enter the graphics
object area state. The parameters of this command define the size, placement,
and orientation of the graphics object area and establish the initial conditions for
interpreting the graphics data. Receiving the End command in the graphics
object area state terminates the processing of the graphics data.
The Write Graphics Control data consists of three consecutive structured fields:
Each structured field contains a two byte length field, then a two byte structured
field ID, and finally a data field.
Graphics Area Position Control (GAP)
The Graphics Area Position Control structured field is the first structured field in
the DATA portion of the Write Graphics Control command. This field defines the
position and orientation of the graphics object area. The top left corner of the
graphics object area is defined relative to the reference coordinate system.
The format of the GAP field is:
Table 74 (Page 1 of 2). Graphics Area Position
Byte
Value
0-1
X
000B
'
GAP
2-3
X
AC6B
'
4-5
X
'
8000
6-7
X
8000
'
8-9
X
0000
'
X
2D00
'
X
5A00
'
X
'
8700
Correlation ID
(Optional)
The Graphics Area Position control defines the position of the graphics
•
picture on the page.
The Graphics Output Control (GOC) defines the size of this picture on the
•
page.
The Graphics Data Descriptor (GDD) defines the size of the graphics window
•
and the default characteristics of the graphics picture.
Length
AC6B
Description
-End of
Length of Graphics Area Position
'
Structured Field ID.
'
'
-X
'
7FFF
'
Graphics Object Area Origin Xp, I, or I-offset
Coordinate Position See "Notation Conventions" on
page 27
-X
7FFF
Graphics Object Area Origin Yp, B, or B-offset
'
'
'
Coordinate Position See "Notation Conventions" on
page 27
Orientation of Graphics Object Area
0 Degrees
'
90 Degrees
'
180 Degrees
'
'
270 Degrees
DATA
(GAP, GOC, GDD)
DATA
Chapter 3. IPDS Commands Reference
Graphics Command Set
Error Code
X
0202..05
'
'
X
020B..05
'
X
0203..05
'
'
83
'