Using tabs – Brother HL-2170W User Manual
Page 304
CHAPTER 6 EPSON - 16
Perform n/216" reverse line feed
Escjn (27)(106)n
<1Bh><6Ah>n
This command performs a single reverse line feed, moving the print position up the page by n/216".
This command does not perform a carriage return.
The current line spacing setting is not affected.
n must be in the range 0 to 255.
The actual vertical distance moved may not be exactly the distance you specify due to the printer's 600 dots
per inch resolution.
LPRINT CHR$(27); CHR$(106); CHR$(108); '1/2" line feed
6.4.
Using Tabs
Set horizontal tab stops
EscDn1n2n3...NUL (27)(68)n1n2n3...(00)
<1Bh><44h>n1n2n3...<00h>
This command enables you to set up to 32 horizontal tab stops based on the current character width.
The character width setting is determined by the combination of the current pitch (10 or 12 characters per
inch) and the current character mode (condensed, normal or double-width). If proportional spacing is being
used the character width is based on a pitch of 10 characters per inch.
The tab stops must be set in ascending order. If you invoke the command with the tabs in any other order all
horizontal tab settings are cleared.
The value of n
i
must be in the range 0 to 255.
Once you have selected the tab settings they remain fixed - their position does not change if you change the
character pitch or character width settings.
To set up a group of equally spaced tab stops use the Esc e 0 command.
Esc D 0 clears all horizontal tab settings.
The default tab stop settings are at every eighth column, starting at the ninth column. The default column
width is 1/10".
The default settings are adopted when the printer is first switched on or when you perform a reset with the
Esc @
instruction.
You can move the print position to the tab stops using the HT control code.
LPRINT CHR$(27); CHR$(68); CHR$(10); CHR$(20); CHR$(0);
'Set tab stops at columns 10 and 20.
Horizontal tab
HT
(09)
<09h>
The HT control code (ASCII code 9) moves the current print position one tab stop to the right.
The command is ignored if there are no tab stops to the right of the current print position or if the next tab
stop is beyond the right margin.
LPRINT CHR$(9); 'Tab
Set vertical tab stops
EscBn1n2n3...NUL (27)(66)n1n2n3...(00)
<1Bh><42h>n1n2n3...<00h>
This command enables you to set up to sixteen vertical tab stops based on the current line space setting.
The tab stops must be set in ascending order. If you specify the tab settings in any other order, any settings
made with a previous Esc B command are cleared.
The value of n
i
must be in the range 0 to 255.
Vertical tab settings are not affected by subsequent changes in the line spacing setting.
To set up a group of equally spaced tab stops use the Esc e 1 command.
Esc B 0 clears the vertical tab settings set with a previous Esc B command.
You can move the print position to the tab stops using the VT control code.
LPRINT CHR$(27); CHR$(66); CHR$(12); CHR$(24); CHR$(0);
'Set tab stops at lines 12 and 24.
Set vertical channel tab stops
Escbnm1m2m3...NUL (27)(98)nm1m2m3...(00)
<1Bh><62h>nm1m2m3...<00h>
- 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