Brother HL-1050 Technical Reference Manual page 320

Laser printer
Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

Set horizontal tabs
EscD<n1><n2><n3>...NUL
<1Bh><44h>n1n2n3...<00h>
This command enables you to set up to 28 horizontal tab stops using the current character pitch.
The tab stops should be set in ascending order.
Esc D 0 clears all horizontal tab settings.
Esc R restores the default settings, which are at every eighth column, starting at the ninth column.
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.
Set vertical tabs
EscB<n1><n2><n3> ...NUL
<1Bh><42h>n1n2n3...<00h>
This command enables you to set up to 64 vertical tab stops using the line feed pitch.
The tab stops should be set in ascending order.
Esc B 0 and Esc R both clear all vertical tab settings.
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.
Horizontal tab
HT
(09)
The HT control code (ASCII 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);
Vertical tab
VT
(11)
The VT control code (ASCII 11) moves the current print position one vertical tab stop down the page.
If there are no tab stops below the current print position a line feed is performed.
If no tab stops have been set a line feed is performed.
LPRINT CHR$(9);
Restore default tab settings
EscR
(27)(82)
This command restores the default horizontal tab settings which are at every eight columns, starting at the
ninth column. There are no default vertical tab settings.
LPRINT CHR$(27);
(27)(68)n1n2n3...(00)
(27)(66)n1n2n3...(00)
<09h>
<0Bh>
<1Bh><52h>
CHR$(82); 'Restore default tab stops.
CHAPTER 7 IBM PROPRINTER - 13
02/08/2010

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents