HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

23-64 The Character Group EN
SI.17,.26;PA0,500; Set the absolute character
size to .17 cm wide by .26 cm
high; move to (0,500).
PD-500,0,0,-500,
500,0,0,500;
Set the pen down and draw
lines from (0,500) to (-500,0),
to (0,-500), to (500,0), and
then to (0,500).
DT#; Define label terminator as “#”
character.
CI10;LO4; LBCentered on point#; Draw a small circle (radius –
10 plu) to represent the label
origin point, specify a label
origin of 4, and print
“Centered on point.
PU-500,0;CI10; LO18; Lift the pen and move to
(-500,0), draw another small
circle, and specify a label
origin of 18.
LBLeft center offset#; Print “Left center offset.
PU0,-500;CI10; LO13; Lift the pen, draw another
small circle, and specify label
origin number 13.
LBRight offset from point#; Print “Right offset from point.
PA500,0;CI10;LO3; Move to (500,0), draw another
small circle (dot), and specify
label origin number 3.
LBRight hang from point#; Print the last label, “Right
hang from point”.
E
C
%0A Enter the PCL mode.
E
C
E Send a reset to end the job
and eject the page.
Table 23-34 Example: Using the LO Command (continued)