Plot area and unit setting instructions – Brother HL-2170W User Manual
Page 355
CHAPTER 9 HP-GL - 7
Function Equivalent
Instruction
Condition
Fill type
FT;
Bi-directional fill, type 1
Fill distance
FT;
1% of distance from P1 to P2
Fill slant
FT;
0 degrees
Pen thickness
PT;
Set at 0.3 mm
Pen condition
PU;
Pen up
Rotation
RO;
Set at 0 degrees
Scaling points
IP;
Initialized according to
paper size
3.2.
Plot Area and Unit Setting Instructions
Instruction Function
IP
Scaling point
SC Scale
IW Input
window
RO
Rotate coordinate system
PG Page
output
IP - Input scaling point
IP [ P1
X
, P1
Y
[,P2
X,
P2
Y
]] [;]
P1
X
;
X
coordinate of P1
P1
Y
;
Y
coordinate of P1
P2
X
;
X
coordinate of P2
P2
Y
;
Y
coordinate of P2
The coordinate values used are absolute values in graphics units.
Sets the location of the scaling points(P1, P2).
Coordinate values for P1
X
, P
1Y
,
P2X
and P2
Y
are given as integer numbers.
The IP instruction is ignored when the set coordinates are outside the print area.
Using this instruction without a parameter field initializes the scaling points(P1, P2).
P2X and P2Y may be omitted. (If P2X and P2Y are omitted, P2 is set automatically so as not to alter the
distance between P1 and P2).
SC - Scale
SC Xmin, Xmax, Ymin, Ymax
Xmin ; X coordinate of P1
Xmax ; X coordinate of P2
Ymin ; Y coordinate of P1
Ymax ; Y coordinate of P2
Sets the scale for the coordinates the user wants to establish.
Coordinate values for Xmin, Xmax, Ymin and Ymax are given as real numbers.
Using this instruction without a parameter field turns the scaling off.
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
10 '*** SCEX ***
20 LPRINT "IN; IP3000,2000,4500,3500;SP1;SC0,120,0,120;"
30 FOR T=0 TO 2*3.1416+3.1416/20 STEP 3.1416/20
40 X=COS(T)*100
50 Y=SIN(T)*100
60 LPRINT "PA";X;",";Y;";PD;"
70 NEXT T
80 LPRINT "PU;"
90 END
61>
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E