2001/10/02
CHAPTER 4 HP-GL/2 - 28
90 LPRINT "FT4,100,45;RA4250,4750;"
100 LPRINT CHR$(27); "%0A";
110 LPRINT CHR$(27); "E";
120 END
<Sample 34>
RR - Fill rectangle relative
RR X, Y[;]
X ; X coordinate of opposite corner for the rectangle
Y ; Y coordinate of opposite corner for the rectangle
•
Coordinates relative to the current position in current units.
•
Fill the rectangle formed by the current position and the opposite corner specified by X and Y.
•
After plotting the cursor returns to its point of origin.
•
Plotting is performed whether the pen is up or down.
10 ' - Fill Relative Rectangle -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;PA5000,4000;"
60 LPRINT "FT1;RR750,750;"
70 LPRINT "PR750,0;"
80 LPRINT "FT3,100;RR750,750;"
90 LPRINT "PR0,750;"
100 LPRINT "FT2;RR750,750;"
110 LPRINT "FT4,100,45;RR-750,750;"
120 LPRINT CHR$(27); "%0A";
130 LPRINT CHR$(27); "E";
140 END
<Sample 35>
WG - Fill wedge
WG
r
,
q1
,
qc
(,
qd
)[;]
r
; Radius in current units
q1
; Start point angle
qc
; Arc angle
qd
; Chord angle
•
Fill in a wedge centred on the current position with radius
r
, start point angle
q1
, arc angle
qc
and chord angle
qd
.
•
After plotting, the cursor returns to its point of origin.
•
Plotting is performed whether the pen is up or down.
•
You should use this command with the type "isotropic". Anisotropic type may make the wedge stretch.
•
r
specifies the radius of circle. A positive value places the 0° reference point onto the positive x-
axis and the negative value places it onto the negative x-axis.
•
The value for
q1
is a clamped real number.
•
q1
specifies the wedge starting point related to the 0° reference point.
•
When
q1
is positive, the positive direction of the X axis relative to the current position is set at 0 degrees and
the start point is sought in the counterclockwise direction. The opposite occurs when
q1
is negative: the
negative X axis is set at 0 degrees and the start point is sought by going clo ckwise.
•
qc
specifies the angle of the wedge.
•
The value for
qc
is a clamped real number.
•
Plotting proceeds counterclockwise when
qc
is positive and clockwise when negative.
•
The value for
qd
is a clamped real number.
•
When
qd
is not specified, the chord angle is the default value ( 5 degrees ).
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...