beautypg.com

Graphic box – Xerox 4213 User Manual

Page 136

background image

XES COMMAND LANGUAGE MODE

Graphic Box

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

L

gb

Instruction to create a graphic box.

T

Line thickness of the figure. The maximum value
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.

X1,Y1

The coordinates of the first of two points that
make up diagonally opposite corners. X

1

is the

horizontal distance from the left edge of the
graphic window. Y

1

is the vertical distance from

the top edge of the graphic window.

X2,Y2

The coordinates of the second of two points.

L

Line end.

More

If a value for X

1

is omitted, the printer will use the x-coordinate

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

1

is omitted, the printer will use the y-coordinate

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

2-98

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE