Genicom GEK 00031B Printer User Manual


 
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B
194
DECVEC Drawing Vectors:
This sequence draws horizontal or vertical lines
with length and width. Margins do not affect line drawing so you can
draw lines to the physical limits of the page. Use the following Pn
parameters to select the length, width, and direction of the line. An
incorrect Pn value will cancel the entire sequence.
General Command Syntax
ESC [ Pn1 ; Pn2 ; … ; Pn5 ; ! |
P1: Define Line
0 = Draw a horizontal line to the right.
1 = Draw a vertical line down.
P2: Select the X Start Position
This parameter selects the horizontal start position on the page in
decipoints.
P3: Select the Y Start Position
This parameter selects the vertical start position on the page in
decipoints.
P4: Select the Line Length
Select the line length in the X direction for an X line. For a Y line, it
specifies the Y direction length. A 0 value defaults to 1 decipoint.
P5: Select the Line Width
Select the line width for both X and Y lines. A 0 value defaults to 1
decipoint.
Decimal: 27 71
Pn1
59
Pn2
59 … 59
Pn5
59 33 96
Hex : 1B 5B
Pn1
3B
Pn2
3B … 3B
Pn5
3B 21 7C
BASIC: CHR$(27);”[“;
Pn1
;”;”;
Pn2
;”;”; … ;
Pn5
;”;”;”!|”;