
Click above to get retro games delivered to your door ever month!
DRAWING LINES IN HP-GL/2
For more information see the PCL5 Printer Language
Technical Reference Manual.
LEGEND: Ec = [Ctrl] [P] Esc] in DOS EDIT
EcE Resets the Printer.
Ec%0B Enters HP-GL/2 mode.
IN; Initializes printer.
SP1; Selects pen number 1
(Black). Even though
there is no physical pen,
the SP command must be
used to enable printing.
PA0,0; Begins absolute plotting
from coordinate (0,0).
PD2500,0,0,1500,0,0; Specifies the pen down
and draw lines between
the points.
Ec%0A Enters the PCL mode.
EcE Sends a reset to end the
job and eject the page.
Copyright Hewlett-Packard Co. 1993
The information contained herein is subject to change
without notice.
Hewlett-Packard shall not be liable for incidental or
consequential damages in connection with the use of this
material.