2001/10/02
CHAPTER 4 HP-GL/2 - 27
•
r
specifies the radius of the circle. A positive value for
r
places the 0° reference point onto the positive x-
axis and a negative value for
r
places the 0° reference point onto the negative x-axis.
•
The value for
q1
is a clamped real number.
q1
qc
r
0° reference point
current
position
•
q1
specifies the wedge starting point relative to the 0 degree 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 clockwise.
•
qc
specifies the angle of the wedge in degrees.
•
The value for
qc
is a clamped real number.
•
Plotting proceeds counterclockwise when
qc
is positive and clockwise when negative.
•
The value for
qd
must be an integer from -32,768 to +32,767.
•
When
qd
is not specified, the chord angle is the default value ( 5 degrees )
10 '- Edge Wedge -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;"
60 LPRINT "PA2000,5000;"
70 LPRINT "EW1250,90,180,5;"
80 LPRINT "EW1250,270,120;"
90 LPRINT "EW1250,30,60;"
100 LPRINT CHR$(27); "%0A";
110 LPRINT CHR$(27); "E";
120 END
<Sample 33>
RA - Fill rectangle absolute
RA X, Y[;]
X ; X coordinate of opposite corner for the rectangle
Y ; Y coordinate of opposite corner for the rectangle
•
X and Y coordinates are absolute coordinates 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 Absolute Rectangle -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;PA5000,4000;"
60 LPRINT "FT1;RA4250,3250;"
70 LPRINT "FT3,100;RA5750,3250;"
80 LPRINT "FT2;RA5750,4750;"
Содержание HL-1250
Страница 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Страница 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Страница 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Страница 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Страница 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Страница 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Страница 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Страница 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Страница 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Страница 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Страница 185: ...2001 10 02 CHAPTER 4 HP GL 2 37 150 LPRINT TR0 PA3900 4900 PM0 PA5100 4900 4500 6100 PM1 160 LPRINT PM2 FP ...
Страница 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Страница 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Страница 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Страница 232: ...2001 10 02 CHAPTER 5 PJL 28 AUTOLF Sets AUTO LF ON or OFF AUTOMASK Sets AUTO MASK ON or OFF SELREADOUT ON or OFF ...
Страница 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Страница 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Страница 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Страница 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Страница 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Страница 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Страница 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Страница 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Страница 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Страница 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Страница 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Страница 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...
Страница 413: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...
Страница 426: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 14 ...