HP-GL/2 Commands and Syntax

There are two classes of commands used to print vector graphics: PCL printer language commands and HP-GL/2 commands. As the name implies, the PCL printer language commands are used when in the PCL printer language mode. They define the area on the page where HP-GL/2 graphics are printed and provide a means to enter HP-GL/2 mode. The HP-GL/2 commands are used within HP-GL/2 mode. They define the image that is printed, and allow you to return to the PCL printer language mode. The HP-GL/2 language has its own syntax, and each command is listed in this section of the manual.

The vector graphics commands have been grouped into functional categories. The categories are designated as shown in Table 17-1 through . Each of the command categories is discussed in its own chapter, beginning with Chapter 19, The Configuration and Status Group.

Table 17-1 The HP-GL/2 Commands by Group (1 of 5)

CONFIGURATION GROUP

CO

Comment

 

 

DF

Default Values

 

 

IN

Initialize

 

 

IP

Input P1 and P2

 

 

IR

Input Relative P1 and P2

 

 

IW

Input Window

 

 

PG1

Advance Page

RO

Rotate Coordinate System

 

 

RP1

Replot

SC

Scale

 

 

1. Ignored by HP LaserJet printers.

EN

HP-GL/2 Commands and Syntax 17-3

Page 373
Image 373
HP 5961-0509 manual HP-GL/2 Commands and Syntax, HP-GL/2 Commands by Group 1