LINE Mnemonic - Draw Line in SYSPRINT Device
Syntax
'LINE'(x1,y1,x2,y2)
Description
The 'LINE' mnemonic draws a one-pixel-wide line in the SYSPRINT device from (x1,y1) to (x2,y2). Note that the x and y coordinates are defined in inches.
|
Parameter |
Description |
|---|---|
|
x1 |
Horizontal position of the upper-left corner of the line. |
|
y1 |
Vertical position of the upper-left corner of the line. |
|
x2 |
Horizontal position of the lower-right corner of the line. |
|
y2 |
Vertical position of the lower-right corner of the line. |
Example
|
The example above prints a rectangle that is 3x2 inches and offset by 2 inches from the top and left side of the page.