USER’S GUIDE

HP-GL/2 Command Sets

Command

Mnemonic

Parameters

 

Dual Context Extensions

 

 

 

ENTER PCL MODE

ESC % # A

0-Retain previous PCL cursor position

 

 

and palette

 

 

 

1-Use current HP-GL/2 pen position and

 

 

palette

 

RESET

ESC E

None

 

PRIMARY FONT

FI

Font_ID

 

SECONDARY FONT

FN

Font_ID

 

SCALABLE OR BITMAPPED FONTSSB

0-Scalable fonts only

 

 

 

1-Bitmapped fonts allowed

 

Palette Extensions

 

 

 

TRANSPARENCY MODE

TR

0-Off (opaque)

 

 

 

1-On (transparent)

 

SCREENED VECTORS

SV

[screen_type [, shading [, index]]]

Vector Group

 

 

 

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

x1_control_pt, y1_control_pt

 

 

 

x2_control_pt, y2_control_pt

 

 

 

x3_control_pt, y3_control_pt

 

 

 

[, params … [, parms ]].

 

BEZIER RELATIVE

BR

x1_control_pt_increments,

 

 

 

y1_control_pt_increments,

 

 

 

x2_control_pt_increments,

 

 

 

y2_control_pt_increments,

 

 

 

x3_control_pt_increments,

 

 

 

y3_control_pt_increments

 

 

 

[, params … [, parms ]];

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

 

 

 

CIRCLE

CI

radius [, chord_angle];

 

FILL RECTANGLE ABSOLUTE

RA

x_coordinate, y_coordinate;

 

FILL RECTANGLE RELATIVE

RR

x_increment, y_increment;

 

EDGE RECTANGLE ABSOLUTE

EA

x_coordinate, y_coordinate;

 

EDGE RECTANGLE RELATIVE

ER

x_increment, y_increment;

 

FILL WEDGE

WG

radius, start_angle, sweep_angle

 

 

[, chord_angle];

 

Appendix–48

Page 240
Image 240
Brother HL-960 manual Appendix-48