Plot Area And Unit Setting Instructions - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

2.2. Plot area and unit setting instructions

Instruction
IP
SC
IW
RO
PG
IP - Input Scaling Point
IP [ P1
, P1
X
P1
;
coordinate of P1
X
X
P2
;
coordinate of P2
X
X
• The coordinate values used are absolute values in graphics units.
• Sets the location of the scaling points(P1,P2).
• Coordinate values for P1
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).
• P2
and P2
X
distance between P1 and P2).
SC - Scale
SC
Xmin,
Xmin ; X coordinate of P1
Ymin ; Y coordinate of P1
• 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, used in this manual are defined as follows;
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
Function
Scaling point
Scale
Input window
Rotate coordinate system
Page output
[,P2
P2
]] [;]
Y
X,
Y
,P1
P2
and P2
X
Y,
X
may be omitted. (If P2
Y
Xmax, Ymin, Ymax
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
<Sample 61>
Chapter 9 "HP-GL" 8
P1
;
coordinate of P1
Y
Y
P2
;
coordinate of P2
Y
Y
are given as integer numbers.
Y
and P2
are omitted, P2 is set automatically so as not to alter the
X
Y
Xmax ; X coordinate of P2
Ymax ; Y coordinate of P2

Advertisement

Table of Contents
loading

Table of Contents