HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

21-18 The Polygon Group EN
Figure 21-12
Note Any line drawn along the border of the effective window causes the
line to be clipped, producing a line width one-half of the defined pen
width. For example, all the lines drawn in the above example are half
the width of the other lines since they are clipped at the window
borders.
The only difference between the EA command and the RA (Fill
Rectangle Absolute) command is that the EA command produces
an outlined rectangle, and RA, a filled one.
The EA command clears the polygon buffer and then uses it to
define the rectangle before drawing. Refer to Drawing Polygons
at the beginning of this chapter for more information.
The following example uses absolute coordinates to draw some
rectangles. The same image is drawn later using the ER command
instead. Compare this example with the ER example to understand
the differences between the coordinates used (relative vs. absolute).
Table 21-8 Example: Using EA to Draw Rectangles
?E Reset the printer.
?%0B Enter HP-GL/2 mode.
IN; Initialize HP-GL/2 mode.