Graphics Output Control (Goc) - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

If byte 10 equals X
the origin. When the object is within a page, GAP bytes 4 through 7 specify the
offset from the X-coordinate and Y-coordinate origin specified in a previously
received LPP command (or from the printer default coordinates if no LPP
command was received). When the object is within an overlay that is invoked
using an LCC command, GAP bytes 4 through 7 specify the offset from the
X
-coordinate and Y
m
that is invoked using an IO command, GAP bytes 4 through 7 specify the offset
from the X-coordinate and Y-coordinate origin specified in the IO command.
When you use the X,Y coordinate system or the I,B coordinate system with the
inline orientation equal to 0 degrees, you must use the 0 degree orientation for
graphics.
When you use the I,B reference system and the inline orientation is 180 degrees,
you must use the 180 degree orientation for graphics.

Graphics Output Control (GOC)

Length
The Graphics Output Control structured field is the second structured field in the
DATA portion of the Write Graphics Control command. This field specifies the
size of the graphics object area and a mapping option for placing the graphics
window into the graphics object area. This field is optional and does not need to
be in the Write Graphics Control command. If the GOC field is not present, the
printer uses:
Figure 17 shows the Graphics Output Control parameters specifying the size of
the graphics object area.
The format of the GOC field is:
Table 75 (Page 1 of 2). Graphics Output Control
Byte
Value
0-1
X
0010
'
'
GOC
2-3
X
A66B
'
4
X
00
'
'
5-6
X
3840
'
'
X
0960
'
'
7-8
X
0001
'
'
X
FFFF
'
9-10
X
0001
'
'
X
FFFF
'
' A0 ' , the current logical page X and Y coordinates determine
-coordinate origin. When the object is within an overlay
m
A66B
The mapping option X
' 30 ' (where offset equals zero)
X offset and Y offset equals zero
Graphics object size equals the graphics medium presentation space window
size defined in the GDD self-defining field.
Description
-End of
Length of Graphics Output Control (GOC)
Structured Field ID
'
Unit Base (Measurement Units)
Unit Base is 10 Inches
L-Units per Unit Base
14400 L-units per 10 inches
2400 L-units per 10 inches
-X
7FFF
X Extent of Graphics Object Area in L-units
'
'
See "Notation Conventions" on page 27
Use Logical Page Descriptor Value
'
-X
7FFF
Y Extent of Graphics Object Area in L-units
'
'
See "Notation Conventions" on page 27
Use Logical Page Descriptor Value
'
Graphics Command Set
DATA
Chapter 3. IPDS Commands Reference
Error Code
X
0202..05
'
'
X
020B..05
'
'
X
0205..05
'
'
X
0206..05
'
'
X
0207..05
'
'
X
0207..05
'
'
85

Advertisement

Table of Contents
loading

Table of Contents