EasyManuals Logo
Home>IBM>Printer>6400

IBM 6400 Programmer's Reference

IBM 6400
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
Graph ics Co mm an d Set
This order does not update the current graphics position.
Line
Description: This order specifies one or more connected lines.
L1 is a one-byte value that specifies the length of the parameter field that
follows. The value of L1 must be a multiple of four and cannot be zero. If L1
equals four, no line is drawn, but the printer updates the graphics current
position to the points specified by parameters P1 to P4.
Parameters P1 and P2 form a two byte value that specifies the first X coordinate
point. Parameters P3 and P4 form a two byte value that specifies the first
Y coordinate point. Parameters P5 to P8, if present, specify the second X and Y
coordinate points. The printer draws a line from the point specified by the first
pair of coordinates to the point specified by the second pair of coordinates. If
additional coordinate pairs are present, the printer draws additional lines from
the previous end point to the next coordinate pair.
This order uses the current values of color, mix, line type, and line width.
Following this order, the printer updates the graphics current position to the last
end point specified in the order.
C1 L1 P1-Pn
Line at Current Position
Description: This order specifies one or more connected lines. The printer
draws a line from the current graphics position to the points specified by the first
set of X and Y coordinates in the parameters. The printer then draws additional
lines from the previous end point to the next coordinate pair, if additional
coordinates are present.
The printer uses the current attributes for color, mix, line type, and line width in
drawing the lines.
L1, the length, specifies the number of bytes following this byte. The value of L1
must be a multiple of four. If L1 is zero, no line is drawn.
Parameters P1 to Pn, if present, form two byte values that specify the X and Y
coordinates of the end points for a series of connected lines. This order updates
the current graphics position to the last line end point. If the order does not
specify any points, the current graphics position does not change. P1 and P2
form a two byte sequence that specifies the X coordinate of the second end
point. P3 and P4 form a two byte sequence that specifies the Y coordinate of the
second end point. Additional X and Y coordinates, if present, are specified in the
remaining parameters, following the same format.
81 L1 P1-Pn
Chapter 3. IPDS Commands Reference 105

Table of Contents

Other manuals for IBM 6400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 6400 and is the answer not in the manual?

IBM 6400 Specifications

General IconGeneral
BrandIBM
Model6400
CategoryPrinter
LanguageEnglish

Related product manuals