P r i n t e r C o m m a n d s
A-14
❖
D o c u P r i n t 4 5 0 8 U s e r G u i d e
HP-GL/2
Printer
Commands
Table A.2
HP-GL/2 Context Printer Commands
Command
Mnemonic
Parameters
DUAL CONTEXT EXTENSIONS
Enter PCL Mode
Esc%#A
0 - Retain previous PCL cursor position
1 - Use current HP-GL/2 pen position
Reset
EscE
None
Primary Font
F1
Font_ID
Secondary Font
FN
Font_ID
Scalable Or Bitmapped Fonts
SB
0 - Scalable fonts only
1 - Bitmapped fonts allowed
PALETTE EXTENSIONS
* Parameters in brackets are optional.
Transparency Mode
TR
0 - Off (opaque)
1 - On (transparent)
Screened Vectors
SV
[screen_type[,shading[,index]]]
VECTOR GROUP
* Parameters in brackets are optional.
Arc Absolute
AA
x_center, y_center, sweep_angle [,chord_angle];
Arc Relative
AR
x_increment, y_increment, sweep-angle [,chord_angle];
Absolute Arc Three Point
AT
x_inter, y_inter, x_end, y_end [,chord_angle];
Bezier Absolute
BZ
x1y1x2yx3y3...[x1y1x2y2x3y3]
Bezier Relative
BR
x1y1x2yx3y3...[x1y1x2y2x3y3]
Plot Absolute
PA
[x,y . . . [,x,y]];
Plot Relative
PR
[x,y . . . [,x,y]];
Pen Down
PD
[x,y . . . [,x,y]];
Pen Up
PU
[x,y . . . [,x,y]];
Relative Arc Three Point
RT
x_incr_inter, y_incr_inter, x_incr_end, y_incr_end [,chord_angle];
Polyline Encoded
PE
[flag[val]|coord_pair . . . [flag[val]|coord_pair]];
POLYGON GROUP
* Parameters in brackets are optional
Circle
CI
radius [,chord_angle];
Fill Rectangle Absolute
RA
x_coordinate, y_coordinate;
Fill Rectangle Relative
RR
x_increment, y_increment;
Table A.2 Page 1 of 3
4508-apa.frm Page 14 Wednesday, May 22, 1996 8:25 AM