CHAPTER 9 HP-GL - 14
When there is no scaling, the coordinate values for X and Y are integer numbers.
Current position
(X, Y)
10 '*** EAEX ***
20 LPRINT "IN;SP1;PA7000,4000;"
30 LPRINT "PT.3;FT1;RA6000,3000;"
40 LPRINT "SP3,;EA6000,3000;"
50 LPRINT "SP4;FT3,100;RA8000,3000;"
60 LPRINT "SP3,;EA8000,3000;"
70 LPRINT "SP5;PT.3;FT2;RA8000,5000;"
80 LPRINT "SP3;EA8000,5000;"
90 LPRINT "SP6;FT4,100,45;RA6000,5000;"
100 LPRINT "SP3;EA6000,5000;PG"
110 END
<Sample 72>
ER - Edge rectangle relative
ER X, Y[;]
X ; X coordinate of opposite angle for the rectangle
Y ; Y coordinate of opposite angle for the rectangle
Coordinates are relative to the current position in user units or graphics units.
Plots the rectangle formed by the current position and the opposite angle 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.
When scaling has been performed, the rectangle is plotted in user units.
Also, when scaling has been performed, the values for X and Y are real numbers.
When there is no scaling, the rectangle is plotted in graphics units.
When there is no scaling, the coordinate values for X and Y are integer numbers.
Current position
Y increment
X increment
10 '*** EREX ***
20 LPRINT "IN;SP1;PA5000,5000;"
30 LPRINT "PT.3;FT1;RR500,500;"
40 LPRINT "SP3,;ER500,500;"
50 LPRINT "PR500,0"
60 LPRINT "SP4;FT3,;RR500,500;"
70 LPRINT "SP3,;ER500,500;"
80 LPRINT "PR0,500;"
90 LPRINT "SP5;PT.3;FT2;RR500,500;"
100 LPRINT "SP3;ER500,500;"
110 LPRINT "SP6;FT4,100,45;RR-500,500;"
120 LPRINT "SP3;ER-500,500;PG"
130 END
<Sample 74>
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...