2001/10/02
CHAPTER 9 HP-GL - 19
PW-Pen width
PW n[;]
w ; width (unit = 1/300 inch)
•
This command specifies the width of the currently selected pen.
•
The value of w is an integer number from 1 to 10.
SM - Symbol mode
SM c[;]
c ; ASCII character or symbol code
•
The command specifies the symbol to be drawn.
•
When the PA, PR, PD or PU instruction is used, the specified symbol will be drawn at the end of each vector.
•
The specified symbol will be drawn at the end of each vector even if the pen is up when the PA or PR
instructions are used.
•
Omitting the parameter field cancels the symbol mode.
10 '*** SMEX ***
20 LPRINT "IN;SP1;SM*;PA500,1500;"
30 LPRINT "PD600,1590,670,1860,850,1960,1320,1900,1940,2350:"
40 LPRINT "PU;SM;PA500,500;SM3;"
50 LPRINT "PA550,800,680,720,800,950,1150,1230,1870,1350;PU;"
60 LPRINT "SM;PA1850,600;PD;SMY;PA3000,1450;"
70 LPRINT "SMZ;PA3300,1150;SMX;PA1850,600;PU;"
80 END
<Sample 78>
SP - Select pen
SP [ n ] [;]
n ; Pen number
•
Selects the pen specified by the pen number.
•
The value for n must be an integer from 0 to 6.
TL - Tick length
TL l1(,l2)[;]
1-Length of ticks in the positive X- and Y-axes
2-Length of ticks in the negative X- and Y-axes
•
Tick length is a percentage of the vertical and horizontal distances between P1 and P2.
•
Sets the length of tick marks for the XT and YT instructions.
•
Values for 1 and 2 are clamped real numbers.
•
When the parameter field is omitted, the default values for tick length are used, for both l1 and l2, these are
0.5% of the horizontal and vertical distances between P1 and P2.
10 '*** TLEX ***
30 FOR I=1 TO 10
40 LPRINT "PR800,0;XT;"
50 NEXT I
60 LPRINT "TL;PU;PA300,279;PD;"
70 GOSUB 1000
80 LPRINT "TL1,0;PU;PA1100,279;PD;"
20 LPRINT "IN;PA300,279;SP2;PD;TL90;XT;";
90 GOSUB 1000
100 LPRINT "TL0,5;PU;PA1900,279;"
110 GOSUB 1000
120 LPRINT "PA300,6759;TL80;YT;PU;"
130 END
1000 '* SUBROUTINE DRAW TICKS *
1010 FOR J=1 TO 8
1020 LPRINT "PRO,720;YT;"
1030 NEXT J
1040 RETURN
<Sample 77>
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 ...