Brother HL-2170W User Manual
Page 184
CHAPTER 4 HP-GL/2 - 33
LT - Line type selection
LT [, n [, p [,m ]]] [;]
n ; Line pattern number
p ; Line pattern length (percentage or millimeters of distance between P1 and P2)
m : mode
This command specifies the line pattern for use when drawing lines with the vector group commands.
n defines the line type to be used. n is either in the range -8 to 8 or is 99.
Values of n from 1 to 8 specify a line type (as defined with the UL command) and use a fixed pattern length.
Any residual part of the pattern not used on a particular drawing operation is stored and used at the start of
the next line drawn.
Values of n from -1 to -8 specify a line type (as defined with the UL command) and use an adaptive pattern
length - that is, the pattern is scaled so as to fit one or more complete patterns into the line.
If n is 0, a dot is placed at the (X, Y) coordinates specified with any vector commands used.
p, the pattern length, specifies the length of one complete pattern, either as a percentage of the distance
between P1 and P2 or in millimeters. The unit system used is determined by the mode setting. If the
length is omitted, the printer uses the most recently specified pattern length.
If a zero or negative pattern length is specified the command is ignored.
m, the mode, defines whether the pattern length parameter, p, is interpreted as a reading in millimeters,
(m=1), or as a percentage of the distance between P1 and P2, (m=0). If no mode number is included in the
command, the most recently specified mode is used.
LT99; restores the previous line type (and, if it is a fixed line type, the residue), provided that the current
line type is solid and that the pen position is the same as it was when the current, solid line type was
selected.
An LT command remains in effect until another LT command is issued, until the default settings are
restored with the DF command or until the printer is initialized with an IN command.
If no parameters are specified the line type is set to be solid. The previous line type, pattern length and
any line residue are saved.
10 ' - Line Type -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;IP1000,1000,9000,7000;SP1;";
60 LPRINT "PA2000,7100;PDPR400,0;PU;" 'REM DEFAULT LINE = 400
70 LPRINT "LT8;PA2000,7000;PD5000,7000;PU;"
80 LPRINT "LT8,4,0;PA2000,6900;PD5000,6900;PU;"
90 LPRINT "LT8,8,1;PA2000,6800;PD5000L6800;PU;"
100 '
110 LPRINT "LT4,PA2000,6600;PD5000,6600;PU;"
120 LPRINT "LT4,4,0;PA2000;6500;PD5000;6600;PU;"
130 LPRINT "LT4,10,1;PA2000,6400;PD5000,6400;PU;"
140 '
150 LPRINT "LT0;PA2000,6300;PD5000,6200; PU;"
160 LPRINT "LT0,4,0;PA2000,6100;PD5000,61000;PU;"
170 LPRINT "LT0,10,1;PA2000,6000;PD5000,6000;PU;"
180 '
190 LPRINT "LT-4;PA2000,5800;PD5000,5800;PU;"
200 LPRINT "LT-4,4,0;PA2000,5700;PD5000;5700;PU;"
210 LPRINT "LT-4,10,1;PA2000,5600;PD5000,5600;PU;"
220 '
230 LPRINT "LT-8;PA2000,5400;PD5000,5400;PU;"
240 LPRINT "LT-8,4,0;PA2000,5300;PD5000,5300;PU;"
250 LPRINT "LT08,10,1;PA2000,5200;PD5000,5200;PU;"
260 '
270 LPRINT "LT99;PA2000,5000;PD5000,5000;PU;"
280 LPRINT CHR$(27); "%0A";
290 LPRINT CHR$(27); "E";
300 END
- 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