
Revision C 16/01/96
Chapter 8 "HP-GL2" 18
PA - Plot Absolute
PA [ X, Y [,...]] [;]
X ; X coordinate of the cursor movement destination
Y ; Y coordinate of the cursor movement destination
•
Coordinates are absolute values in user or current units.
•
Whether used with or without parameters the command establishes absolute plotting as the plotting mode.
•
The command moves the cursor to the specified coordinates, drawing straight lines, only when the pen is
down.
•
In symbol mode PA draws the specified symbol at each point in the parameter list.
•
In polygon mode the specified coordinate pairs are placed in the polygon buffer.
•
If an odd number of coordinates are specified, the final, unpaired coordinate is ignored.
10 ' -- Plot Absolute --
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27);"E";
40 LPRINT CHR$(27);"%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA2000,6000;PD0,6000,2000,7500,2000,6000;PU2500,6000;";
70 LPRINT "PAPD4500,6000,2500,7500,2500,6000;PU10365,500;";
80 LPRINT CHR$(27);"%0A";
90 LPRINT CHR$(27);"E";
100 END
<Sample 24>
PR - Relative Coordinate Pen Move
PR [X, Y [,...]] [;]
X ; X coordinate of the cursor movement destination
Y ; Y coordinate of the cursor movement destination
•
Coordinates used are relative values in current units.
•
Whether used with or without parameters the command establishes relative plotting as the plotting mode.
•
The command moves the cursor to the specified coordinates, drawing straight lines, only when the pen is
down.
•
You can specify any number of coordinated pairs and plotting is performed in the order the coordinates are
specified.
•
In symbol mode PR draws the specified symbol at each point in the parameter list.
•
In polygon mode the specified coordinate pairs are placed in the polygon buffer.
•
If an odd number of coordinates are specified, the final, unpaired coordinate is ignored.
10 ' - Plot Relative -
20 WIDTH "LPT1:", 255
20 LPRINT CHR$(27); "E";
30 LPRINT CHR$(27); "%0B";
40 LPRINT "IN;SP1;"
50 LPRINT "PA5000,4500,;PDPR-2000,0,2000,2000,0,-2000;PU500,0;"
60 LPRINT "PD2000,0,-2000,2000,0,-2000;PU;"
70 LPRINT CHR$(27); "%0A";
80 LPRINT CHR$(27); "E";
90 END
<Sample 25>
AA - Draw Absolute Arc
Summary of Contents for HL- SERIES
Page 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Page 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Page 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Page 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Page 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Page 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Page 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Page 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Page 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Page 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Page 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Page 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Page 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...