Brother HL-2170W User Manual
Page 367
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
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
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E