2001/10/02
CHAPTER 4 HP-GL/2 - 39
•
The command sets all pen widths to a default of 0.35mm. Hence it should be used before the PW command.
•
Using the command with no parameter defaults the type to 0 (metric) and all pen widths to 0.35mm.
•
The unit type is not affected by a DF command.
10 '-Pen Width Unit Selection-
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 'metric
70 LPRINT PA2000,6000;PDPA6000,6000;PU;" 'Default 0.35mm
80 LPRINT "WU0;PA2000,5700;PDPA6000,5700;PU;"'0.35mm
90 LPRINT "WU0;PW1.5;PA2000,5400;PDPA6000,5400;PU;"'1.5mm
100 LPRINT "WU0;PW0.8;PA2000,5100;PDPA6000,5100;PU;"'0.8mm
110 "-relative unit
120 LPRINT "PW;PA2000,4600;PDPA6000,4600;PU;"'Default 0.35mm=4dot
130 LPRINT "IP1000,1000,9000,7000;"
140 LPRINT "WU1;PA2000,4300;PDPA6000,4300;PU;"'300*10/1016=2dot
150 LPRINT "IP1000,1000,5000,4000;"
160 LPRINT "WU1;PA2000,4000;PDPA6000,4000;PU;"'300*5/1016=1dot
170 LPRINT CHR$(27); "%0A";
180 LPRINT CHR$(27); "E";
190 END
<Sample 47>
7.6.
Character Plot Instructions
Instruction
Function
SD
Define Standard Font
AD
Define Alternate Font
SS
Select Standard Font
SA
Select Alternate Font
FI
Select Primary Font
FN
Select Secondary Font
LB
Define Label
DT
Define Label Terminator
LO
Label Origin
DI
Absolute Direction
DR
Relative Direction
DV
Define Variable Text Path
CP
Character Plot
CF
Character Fill Mode
SI
Set Absolute Character Size
SR
Set Relative Character Size
SL
Set Character Slant
SB
Scalable or Bitmap Fonts
ES
Extra Space
TD
Transparent Data
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 ...