
2009/06/29
CHAPTER 4 HP-GL/2 - 15
SC - Scale
<HP-GL/2>
SC [ X
min
,
X
max
, Y
min
, Y
max
[, type ]] [;] (Type = 0)
SC [ X
min
,
X
max
, Y
min
, Y
max
,
type
[ left, bottom]] [;] (
Type
=1)
SC [ X
min
, X
factor
, Y
min
Y
factor
[,
type
]] [;] (
Type
= 2)
X
min
; X coordinate of P1
X
max
; X coordinate of P2
Y
min
; Y coordinate of P1
Y
max
; Y coordinate of P2
Type
; type of scaling
Left
; percentage of unused space to be left to the left of the scaling area
bottom
; percentage of unused space to be left below the scaling area
X
factor
; number of graphics units per user unit on the x-axis.
Y
factor
; number of graphics units per user unit on the y-axis.
•
This command turns scaling on and establishes a user unit coordinate system. The coordinate system is
specified relative to the points P1 and P2. The origin need not necessarily be at P1. Three different types
of scaling are available.
•
The technical terms, user unit and graphics unit, as used in this manual are defined as follows:
User unit
: the unit of the coordinates set by the SC instruction.
Graphics unit : the unit(1/1016 of an inch) of the coordinates not set by the SC instruction.
•
All coordinates are in user units.
•
Coordinate values for X
min
,
X
max
, Y
min
, and Y
max
are given as real numbers.
•
X
min
, Y
min
, X
max
and Y
max
specify the range of the X- and Y-axes. X
min
and Y
min
value should be P1 and
X
max
and Y
max
should be P2.
•
X
min
must be different from X
max
, and Y
min
must be different from Y
max
.
•
Using this instruction without a parameter field turns the scaling off.
•
Type
can be 0, 1 or 2, which select scaling types known as anisotropic, isotropic and point factor scaling
respectively.
•
Type
0 scaling (anisotropic scaling, the default) allows you to specify different sized x-axis and y-axis units.
Hence the area specified by X
min
,
X
max
, Y
min
, and Y
max
will occupy the entire area defined by P1 and P2.
P1 (0,0)
P2 (7,6)
•
left and bottom settings have no effect in
type
0 scaling.
•
Type
1 scaling (isotropic scaling) forces x-axis and y-axis units to be the same size. As a result the area
specified by X
min
,
X
max
, Y
min
, and Y
max
(the isotropic area) may not fit exactly into the rectangular area
defined by P1 and P2.
P1
(0,0)
(6,7)
P2
Summary of Contents for HL-2600CN Series
Page 4: ......
Page 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Page 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Page 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Page 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Page 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...