User Guide
249
Appendix 2 HP-GL/HP-GL2 Command List
OA Outputs the current position on the printer coordinate
system and the pen up-down information.
yy
OC Outputs the current position instructed by the last
command and the pen up-down information. [6030/
6050 Wide Format: Always returns the standard
value (0,0,0)]
yy*
OD Outputs read coordinates. [Always returns the
standard value (0,0,0)]
yyy* (HP-GL)
n (HP-GL/2)
OE Outputs an error number. y y y
OF Outputs the number of printer units per millimeter. y y
OG Outputs the current group count and group status. y n
OH Outputs the coordinates of the mechanical limit area
where the pen can be moved.
yy y
OI Outputs the printer model. y y y
OK Outputs a pressed function key. y n
OL Outputs the information (length) of a character string
in the character buffer.
yy
OO Outputs an option number. y y
OP Outputs a scaling point. y y y
OS Outputs a printer status. y y y
OT Outputs the current carousel type and stall occupancy
status.
yn
OW Outputs a software window area. y y
PA Moves the pen by absolute coordinates. y y y
PB Draws a character string in the character buffer. y y
PC Defines the pen color and width. y y* (HP-GL)
y (HP-GL/2)
PD Lowers the pen. y y y
PE Executes PA, PR, PU, PD, and SP. y y
PG Feeds the paper forward or backward. y y y* (HP-GL)
y (HP-GL/2)
PM Registers a user-specified polygon in the polygon
buffer.
yy y
PR Moves the pen by relative coordinates. y y y
Com-
mand
Command Meaning and action HP-GL HP-GL/2
6030/6050
Wide Format