HP 2500 HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Refere - Page 33

HP-GL/2, Polygon Group continued, Line and Fill Attributes Group

Page 33 highlights

HP-GL/2 Polygon Group (continued) Polygon Mode Allows creation of user-defined polygons in the polygon buffer. PM polygon definition [;] polygon definition = 0 (Clears polygon buffer and enters polygon mode) 1 (Closes current polygon or subpolygon and remains in polygon mode) 2 (Closes current polygon or subpolygon and exits polygon mode) Fill Rectangle Absolute Fills a rectangle specified with absolute coordinates. RA X,Y [;] X,Y = Coordinates of opposite corner of rectangle. Fill Rectangle Relative Fills a rectangle specified with relative coordinates. RR X,Y [;] X,Y = Coordinates of opposite corner of rectangle. Fill Wedge Defines and fills a wedge-shaped polygon. WG radius,start angle,sweep angle[,chord angle] [;] Line and Fill Attributes Group Anchor Corner Specifies the starting point for fill patterns. AC [ X,Y] [;] Fill Type Selects the pattern to use when filling polygons. FT [ fill type[,option1[,option2 ] ] ] [;] Fill Type = description 1 and 2 = Solid black 3 = Hatched 4 = Cross-hatched 10 = Shading 11 = User-defined 21 = PCL Patterns 22 = PCL Userdefined option1 ignored line spacing line spacing % shading raster-fill index pattern type pattern ID option2 ignored angle angle ignored ignored ignored ignored 31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54

31
HP-GL/2
Polygon Group (continued)
Polygon Mode
Allows creation of user-defined polygons in the polygon buffer.
PM polygon definition [;]
polygon definition = 0 (Clears polygon buffer and enters
polygon mode)
1 (Closes current polygon or subpolygon
and remains in polygon mode)
2 (Closes current polygon or subpolygon
and exits polygon mode)
Fill Rectangle Absolute
Fills a rectangle specified with absolute coordinates.
RA X,Y [;]
X,Y = Coordinates of opposite corner of rectangle.
Fill Rectangle Relative
Fills a rectangle specified with relative coordinates.
RR X,Y [;]
X,Y = Coordinates of opposite corner of rectangle.
Fill Wedge
Defines and fills a wedge-shaped polygon.
WG radius,start angle,sweep angle[,chord angle] [;]
Line and Fill Attributes Group
Anchor Corner
Specifies the starting point for fill patterns.
AC [ X,Y] [;]
Fill Type
Selects the pattern to use when filling polygons.
FT [ fill type[,option1[,option2 ] ] ] [;]
Fill Type =
description
option1
option2
1 and 2 =
Solid black
ignored
ignored
3 =
Hatched
line spacing
angle
4 =
Cross-hatched
line spacing
angle
10 =
Shading
% shading
ignored
11 =
User-defined
raster-fill index
ignored
21 =
PCL Patterns
pattern type
ignored
22 =
PCL User-
defined
pattern ID
ignored