USING THE LABEL ORIGIN ( LO ) COMMAND
The Label Origin command ( LO ) positions labels
relative to the current pen location. For more
information see the Updated PCL 5 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,
(black). Even though
there is no physical pen,
the SP command must be
used to enable printing.
SC-4000,4000,-5000,5000; Specifies scaling by
assigning (-4000,-5000)
to P1, and (4000,5000) to
P2.
SI.17,.26;PA0,500; Sets the absolute
character size to .17 cm
wide by .26 cm high;
moves to (0,500).
PD-500,0,0,-500,500,0,0,500; Sets the pen down and
draws lines from (0,500)
to (-500,0), to (0,-500),
to (500,0), and to
(0,500).
DT#; Defines the label
terminator as the "#"
character.
CI10;LO4;LBCentered on point#; Draws a small circle
(radius of 10 plotter
units, plu) to represent
the label origin point;
specifies a label origin
of 4, and prints
"Centered on point".
PU-500,0;CI10;LO18; Lifts the pen and moves
to (-500,0); draws
another small circle;
specifies a label origin
of 18.
LBLeft center offset#; Prints "Left center
offset".
PU0,-500;CI10;LO13; Lifts the pen, and draws
another small circle;
specifies label origin
number 13.
LBRight offset from point#; Prints "Right offset from
point".
PA500,0;CI10;LO3; Moves to (500,0); draws
another small circle;
specifies label origin
number 3.
LBRight hang from point#; Prints the last label,
"Right hang from point".
Ec%0A Enters 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.