USING THE RELATIVE CHARACTER SIZE ( SR ) COMMAND
The Relative Character Size ( SR ) command, specifies
the size of labeling characters as a percentage of the
distance between P1 and P2. For more information see
the PCL 5 Printer Language Technical Reference Manual.
The syntax for this command is as follows:
SR width, height; or SI;
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.
IP-6956,-4388,6956,4388; Moves P1 to (-6956,-
4388), and P2 to
(6956,4388).
DT@; Defines the label
terminator as the "@"
character.
SR;PA0,2700;LBRELATIVE LABEL SIZE@; Defaults the
character size as a
percentage of the P1/P2
rectangle, and moves the
pen to (0,2700); prints
"RELATIVE LABEL SIZE".
IP0,0,5500,5500;PA0,2000; Moves P1 to (0,0) and P2
to (5500,5500); moves the
pen to (0,2000).
LBNEW P1 AND P2 CHANGE LABEL SIZE@; Prints "NEW P1
AND P2 CHANGE LABEL
SIZE".
PA0,1000;SR2.5,2.5; Moves to (0,1000) and
sets the character size
to 2.5% by 2.5% of the
P1/P2 rectangle.
LBNEW SR INSTRUCTION@;CP; Prints "NEW SR
INSTRUCTION" and sends a
CP for Carriage
Return/Line Feed.
LBCHANGES LABEL SIZE@; Prints "CHANGES LABEL
SIZE."
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.