
2009/06/29
CHAPTER 4 HP-GL/2 - 20
AA - Draw absolute arc
AA [ X, Y, qc [, qd ]] [;]
X ; Arc centre X coordinate
Y ; Arc centre Y coordinate
qc
; Arc angle in degrees
qd
; Chord angle in degrees
•
Coordinates are absolute coordinates in current units.
•
Starting from the current position, this command plots an arc centred on the absolute coordinates X, Y
having the specified arc angle and chord angle, with the radius being the distance between the current
position and the point X,Y.
•
After execution of the command the cursor position is at the opposite end of the arc from the point at which
plotting started.
•
Plotting takes place only when the pen is down.
•
If the command is invoked with the pen up, plotting is not performed, but the cursor position moves to
what would have been the plot end point.
(X,Y)
qc = Arc Angle
qd = Chord Angle
•
The value for
qc
is a clamped real number.
•
When
qc
is positive, plotting is counterclockwise.
•
When
qc
is negative, plotting is clockwise.
•
The value for
qd
is a clamped real number in the range 0.5° to 180°. The default value is 5°.
10 '-- Draw Absolute Arc --
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27);"E";
40 LPRINT CHR$(27);"%0B";
50 LPRINT "IN;SP1;IP1000,1000,6000,6000;"
60 LPRINT "SC0,100,0,100;"
70 LPRINT "PA0,30;"
80 LPRINT "PD;PA0,45;AA0,50,180;PA0,70;"
90 LPRINT "AA0,100,900;PA100,55;AA100,50,180;PA100,30;"
100 LPRINT "AA100,100,90;PA45,100;AA50,100,180;PA80,100;"
110 LPRINT "AA100,0,90;PA55,0;AA50,0,180;PA30,0;AA0,0,90;"
120 LPRINT "PU;PA50,50,CI20;"
130 LPRINT CHR$(27); "%0A";
140 LPRINT CHR$(27); "E";
150 END
<Sample 26>
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 ...