XES COMMAND LANGUAGE MODE

For the X and Y variables in the commands, any number from minus 16,000 to 16,000 may be specified. Negative and positive numbers outside window boundaries are acceptable, but only the segment of the image within the window will print.

When a number for X is missing in a command, the printer uses the x-coordinate from the current graphic position. When a number for Y is missing, the printer uses the y-coordinate from the current graphic position.

Each command includes a variable for the line thickness of the image drawn. The maximum line thickness for a graphic image is 15 pixels; even if you enter a larger number, the line prints 15 pixels thick and no error is reported. If no variable for thickness is entered in the command, the printer uses three pixels as a default.

If a line thickness of zero is entered, no image prints; however, the current graphic position changes to the last set of x- and y- coordinates entered.

Graphic Line

Purpose

Draws lines between any two points within the graphic window.

Syntax

 

 

 

 

 

 

 

EglT;X1,Y1,X2,Y2,Xn,YnL

 

 

 

 

 

 

 

 

 

 

 

 

gl

The instruction to draw a graphic line.

 

T

The thickness of the line. The maximum value is

 

 

 

 

16. No error message is generated if a greater

 

 

 

 

value is entered.

 

;

 

The semicolon is required. If it is omitted, the

 

 

 

 

command is ignored. Commas separate the other

 

 

 

 

variables.

 

X1,Y1

The coordinates of the first point in the line. X is

 

 

 

 

the horizontal distance, from the left edge of the

 

 

 

 

graphic window. Y is the vertical distance, from the

 

 

 

 

top edge of the graphic window.

 

X2,Y2

The coordinates of the second point in the line.

 

Xn,Yn

The coordinates of the next point in the line.

 

L

Line end.

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

2-93

Page 131
Image 131
Xerox 4213 manual Graphic Line, Purpose