Cancel Superscript / Subscript Mode; Select / Cancel Double-Height Printing; Select Printing Mode - Brother HL-1050 Technical Reference Manual

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

Advertisement

2/19/04
LPRINT CHR$(27); CHR$(83); CHR$(0); 'Turn on superscript mode

Cancel superscript / subscript mode

EscT
• This command cancels superscript or subscript printing mode.
• Subsequent text is printed using normal characters.
LPRINT CHR$(27); CHR$(84); 'Turn off superscript mode

Select / cancel double-height printing

Escwn
• This command turns double-height printing on or off.
• If n is set to 1 subsequent text is printed using double-height characters. The line space setting is
doubled.
• If n is set to 0 subsequent text is printed using normal sized characters. The previous line spacing is
restored.
• When you specify a value for n you may also use the character codes for '0' and '1' (48 and 49)
instead of 0 and 1.
• You cannot use superscript, subscript or condensed printing modes in conjunction with double-height
printing. If you try to select any of these three modes while in double-height printing the command
will be ignored.
LPRINT CHR$(27); CHR$(119); CHR$(1); 'Set double-height printing mode
Select / cancel underline mode
Esc–n
• This command turns character underlining on or off.
• If n is set to 1 subsequent text is printed underlined. All characters, including space characters, are
underlined with a continuous line.
• Horizontal tabbed spaces are never underlined.
• If n is set to 0 subsequent text is not underlined.
• When you specify a value for n you may also use the character codes for '0' and '1' (48 and 49)
instead of 0 and 1.
LPRINT CHR$(27); CHR$(45); CHR$(1); 'Underline following text

Select printing mode

Esc!n
• This command allows you to select a combination of printing modes with just one command.
• The various modes are weighted as shown. Add the numbers that correspond to each mode you
require and set n to the total.
• Double-strike and emphasized modes are identical.
• Proportional spacing overrides either character pitch setting (10 cpi or 12 cpi).
• Proportional spacing and condensed mode cannot be combined. Proportional spacing has
precedence.
LPRINT CHR$(27); CHR$(33); CHR$(138); 'Proportionally space, emphasize
& underline following text.
Select expansion of printable code area
Esc6
• This command enables you to print characters whose character codes are in the range 128 to 159.
• You can define your own characters and assign codes in this range to them.
LPRINT CHR$(27); CHR$(54); 'Expand printable area
(27)(84)
<1Bh><54h>
(27)(119)n
<1Bh><77h>n
(27)(45)n
<1B><2D>n
(27)(33)n
<1Bh><21h>n
10 characters per inch
12 characters per inch
Proportional spacing
Condensed mode
Emphasized mode
Double-strike mode
Double-width mode
Italic printing
Underline mode
(27)(54)
<1Bh><36h>
CHAPTER 6 EPSON - 20
0
1
2
4
8
16
32
64
128

Advertisement

Table of Contents
loading

Table of Contents