Write Graphics Control - Printronix S828 Programmer's Manual

Table of Contents

Advertisement

Programmer Manual 
Write Graphics Control (WGC)
Length
D684
GAP
GOC
The Write Graphics Control command causes the printer to enter the graphics block state. The parameters
of this command define the size, placement, and orientation of the graphic block area and establish the
initial conditions for interpreting the graphic data. Receiving the End command in the graphic block state
terminates the processing of the graphic data.
The Write Graphics Control data consists of three consecutive structured fields:
● The Graphic Area Position control defines the position of the graphics picture on the page.
● The Graphic Output Control (GOC) defines the size of this picture on the page.
● The Graphic Data Descriptor (GDD) defines the size of the graphics window and the default
characteristics of the graphics picture.
Each structured field contains a two byte length field, then a two byte structured field ID, and finally a data
field.
Note: The quality of the graphics output is affected by the graphics mode and direction parameter values
selected at the operator panel (see the Administrators Manual for your model printer), and by the Print
Quality Control command (see "Print Quality Control (PQC)").
Graphic Area Position Control (GAP)
GAP
GOC
Length
ID
The Graphic 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 graphic block area.
The top left corner of the graphic block area is defined relative to the reference coordinate system.
The format of the GAP field is:
Decimal
Hex
0-1
0-1
2-3
2-3
4-5
4-5
6-7
6-7
8-9
8-9
Chapter 5 IPDS Programming Information 
Flag
Correlation ID (Optional)
GDD
GDD
DATA
Value
Description
000B - (n + 1) Length of this Field
AC6B
Structured Field ID
8000 - 7FFF
X Coordinate Position or Inline Coordinate Position of the
Graphic Block Area in Units (Position of the Top Left Corner)
8000 - 7FFF
Y Coordinate Position or Baseline Coordinate Position of the
Graphic Block Area in Units (Position of the Top Left Corner)
0000
When you use the X,Y coordinate system or the I,B coordinate
system with the inline orientation system equal to 0 degrees,
you must use the 0 degree orientation for graphics.
5A00
When you use the I,B reference system and the inline
orientation is 180 degrees, you must use the 180 degree
orientation for graphics.
 
DATA
164 
PTX‐S828 
260071‐001A 

Advertisement

Table of Contents
loading

Table of Contents