Using standard characters – Brother HL-2170W User Manual
Page 305
CHAPTER 6 EPSON - 17
You can set up to eight different sets of vertical tab stops and select any of these sets for use at any time.
Each set of tab stops is called a channel - channels are numbered from 0 to 7.
Channel 0 normally holds the settings you have selected with the Esc B command, or equally spaced tab
settings that you have set with the Esc e 1 command. However, you can also set the channel 0 tab settings
using the Esc b command.
To set the tab stops held in channels 1 to 7 you must use the Esc b command.
This command enables you to set up to sixteen vertical tab stops for each channel based on the current line
space setting.
n is the channel number whose tab stops are to be set.
m
i
specifies the tab based on the current line space setting.
The value of m
i
must be in the range 0 to 255.
The tab stops must be set in ascending order. If you specify a channel's tab settings in any other order, any
previous settings made for that channel are cleared.
Vertical tab settings are not affected by subsequent changes in the line spacing setting.
Esc b n 0 clears the vertical tab settings set for channel n.
You can select a channel using the Esc / command and move the print position to its tab stops using the VT
control code.
LPRINT CHR$(27); CHR$(98); CHR$(1); CHR$(10); CHR$(20); CHR$(0);
'Set tab stops at lines 10 and 20.
Select vertical tab channel
Esc/n
(27)(47)n
<1Bh><2Fh>n
This command allows you to select a set of vertical tabs (or channel) that you defined using the Esc b
command.
All subsequent vertical tab commands use the selected tab channel's settings.
n must be in the range from 0 to 7.
The default channel is channel 0. Channel 0 is the current channel when the printer is first switched on or
after a reset with the Esc @ command.
There are no default vertical tab settings for any channel.
LPRINT CHR$(27); CHR$(47); CHR$(5); 'Select vertical tab channel 5
Vertical tab
VT
(11)
<0Bh>
The VT control code (ASCII 11) moves the current print position one vertical tab stop down the page. The
current vertical tab channel's settings are used.
If you have not previously selected a vertical tab channel with the Esc / command, channel 0, the default
channel is used.
If you have not set any vertical tab stops for the current channel with either the Esc B, Esc b, or Esc e 1
commands, the print position is moved down one line using the current line space setting.
If there are no tab stops below the current print position a line feed is performed.
If no tab stops have been set a carriage return and line feed are performed.
LPRINT CHR$(11); ' Vertical tab
6.5.
Using Standard Characters
Set pitch to 10 characters per inch
EscP (27)(80)
<1Bh><50h>
This command sets the printing pitch to 10 characters per inch (cpi).
LPRINT CHR$(27); CHR$(80); 'Set pitch to 10 cpi
- 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