H P - G L / 2 C o n t e x t P r i n t e r C o m m a n d s

HP-GL/2In Figure B.2, parameters in brackets [] are optional.

Context

Printer

Commands

Figure B.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

 

 

 

 

 

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 . . .

 

 

 

[x1_control_pt, y1_control_pt

 

 

 

x2_control_pt, y2_control_pt

 

 

 

x3_control_pt, y3_control_pt];

 

 

 

 

 

A p p e n d i x B : P r i n t e r C o m m a n d s ( E s c a p e S e q u e n c e s ) B-21

Page 237
Image 237
Xerox 4510/4510ps, 4505/4505ps manual Context Printer Commands, Command Mnemonic Parameters