CREATING A MIRROR-IMAGE
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 HP-GL/2 Mode.
SP1; Selects pen number 1. You
must use the SP command
to enable printing.
IP1500,3600,3000,5100; Specifies the P1/P2
locations for the first
arrow figure.
SC-15,15,-10,10; Sets up user scaling: (-
15,-10) to (15,10).
(Subroutine) Replace (Subroutine) with
the actual subroutine
following this program.
This subroutine will draw
an arrow image on the
page.
IP3000,3600,1500,5100; Changes the physical
locations of P1 and P2 to
flip the image to the
left.
(Subroutine) Prints the second arrow
image.
IP1500,5100,3000,3600; Changes the physical
locations of P1 and P2 to
flip the image down.
(Subroutine) Prints the third arrow
image.
IP3000,5100,1500,3600; Changes the physical
locations of P1 and P2 to
flip the image to the
left and down.
(Subroutine) Prints the fourth arrow
image.
Ec%0A Enters the PCL mode.
EcE Sends a reset to end the
job and eject the page.
SUBROUTINE TO PRINT THE ARROW IMAGE
PA1,2;PD1,4,3,4,3,7,2,7,
4,9,6,7,5,7,5,4,12,4,12,5,
14,3,12,1,12,2,1,2;PU;
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.