HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II
EN SC, Scale 19-45
z X
MIN
,X
FACTOR
,Y
MIN
,Y
FACTOR
— Establish the user-unit coordi-
nates of P1 and the ratio of plotter to user-units. X
MIN
and Y
MIN
are the user-unit coordinates of P1. X
FACTOR
sets the number of
plotter units per user-unit on the X-axis; Y
FACTOR
sets the number
of plotter units per user-unit on the Y-axis.
z Type — Must be 2 for this type of scaling.
An SC command remains in effect until another SC command is
executed, or the printer is initialized or set to default conditions.
Examples: The following examples explain the effect of several
parameter selections.
(SC0,40,0,40,2) allows scaling in millimeters since 1 millimeter = 40
plotter units. Each user-unit is 1 millimeter.
(SC0,1.016,0,1.016,2) allows scaling in thousandths of an inch since
1 inch = 1016 plotter units.
While scaling is on (after any form of the SC command has been
executed), only those HP-GL/2 commands that can be issued in
‘current units’ are interpreted as user-units; the commands that can
be issued only in plotter units are still interpreted as plotter units.
(The command syntax discussion pertaining to each command
tells you which kind of units each parameter requires.)
The SC parameters are mapped onto the current locations of P1
and P2. P1 and P2 do not represent a graphic limit; therefore, the
new user-unit coordinate system extends across the entire range
of the plotter-unit coordinate system. Thus, you can print to a point
beyond P1 or P2, as long as you are within the effective window. For
example, you can print from the point (-1,3.5) to the point (5.5,1.5) as
shown in the following illustration.