beautypg.com

Graphic window, Other characteristics, Scan direction for raster graphics – Xerox 4213 User Manual

Page 119

background image

XES COMMAND LANGUAGE MODE

Other characteristics

With the Graphic Window command, you determine:

Whether or not the window will be magnified to appear
larger on the printed output than its actual size; and, if so, by
how much. You can select magnification for a window when
you want a graphic to cover a larger area on the page but do
not want to use the memory required for a large window.
Magnifying a window, however, reduces its resolution.

What type of graphics data—raster, vector, or macro—the
window will contain.

Whether the graphics will be reversed. When graphic images
are reversed, a black image on a white background becomes
a white image on a black background and vice versa.

The location and size of the window, given in two pairs of x-
and y-coordinates, as shown in figure 2-19. The first
coordinates, X

and Y, set the location of the window’s origin

on the page. The second coordinates, S

x

and S

y

, set the size

of the window. The unit of measure is the pixel.

Scan direction for raster graphics

The x-axis and y-axis of a graphic window are not related to
those of the physical page. The scan direction for a graphic
window always runs along its x-axis (from X

to S

x

). Raster data fills

the window in this direction. This differs from the scan direction
of the page, which runs along the page’s y-axis. Figures 2-19 and
2-20 show how the scan direction of the page differs from that
of the graphic window.

In a job using raster data, the Graphic Window command is
followed immediately by the sixel encoded bitmap, which is sent
to the printer from the host.

When defining a window for raster graphics, ensure that the
number of pixels you enter for its size along the x-axis is a
multiple of eight. You do not need to made a similar calculation
for the window’s y-direction; the printer does this automatically.

Graphic Window

Purpose

Defines an area on the page for graphics.

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

2-81