Graphic Box - Xerox 4213 Programmer's Reference Manual

Xerox laser printer specification sheet
Hide thumbs Also See for 4213:
Table of Contents

Advertisement

XES COMMAND LANGUAGE MODE

Graphic Box

2-98
Purpose
Draws a rectangle by defining two sets of right angles. Two
coordinates define the diagonal corners. The printer then fills in
the vertical and horizontal lines for the top, bottom, and sides.
Syntax
E
gbT;X1,Y1,X2,Y2
gb
T
;
X1,Y1
X2,Y2
L
More
If a value for X
from the current graphic position. If this box is the first graphic
drawn in the window, the x-coordinate of the window origin is
substituted as the x-value of the corner.
If a value for Y
from the current graphic position. If this box is the first graphic
drawn in the window, the y-coordinate of the window origin is
substituted as the y-value of the corner.
Example
To create the box in figure 2-30:
Drawn with a line seven pixels thick
The coordinates of one corner set at 75,225 in the graphic
window
L
Instruction to create a graphic box.
Line thickness of the figure.
is 16 pixels.
No error message is generated if a
greater value is entered.
The width is distributed equally on the inside and
outside of the box. The 4213 adjusts the width if
it cannot be distributed equally.
The semicolon is required. If it is omitted, the
command is ignored. Commas separate the other
variables.
The coordinates of the first of two points that
make up diagonally opposite corners. X
horizontal distance from the left edge of the
graphic window. Y
is the vertical distance from
1
the top edge of the graphic window.
The coordinates of the second of two points.
Line end.
is omitted, the printer will use the x-coordinate
1
is omitted, the printer will use the y-coordinate
1
XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE
The maximum value
is the
1

Advertisement

Table of Contents
loading

Table of Contents