Brother HL-2170W User Manual
Page 332
CHAPTER 7 IBM PROPRINTER - 16
Underline mode
Esc-n (27)(126)n
<1Bh><7Eh>n
This command turns character underlining on or off.
If n is set to 1 subsequent text is underlined.
Horizontal tab spaces are not underlined irrespective of whether underlining mode is on or off.
If n is set to 0 subsequent text is not underlined.
LPRINT CHR$(27); CHR$(45); CHR$(1); 'Underline following text
Continuous overline mode
Esc_n (27)(95))n
<1Bh><5Fh>n
This command turns character overline printing on or off.
If n is set to 1 subsequent text is printed with a continuous line above it.
Horizontal tab spaces are not printed overlined irrespective of whether overline printing mode is on or
off.
If n is set to 0 subsequent text is not printed with an overline.
LPRINT CHR$(27); CHR$(95); CHR$(1); 'Print following text with an
overline
Select double-height / double-width mode
Esc[@n1n2n3n4n5n6 (27)(91)(64)n1n2n3n4n5n6
<1Bh><5Bh><40h>n1n2n3n4n5n6
This command enables you to select single or double line spacing and single or double character
height and width.
n
1
should be set to 4 and n
2
,n
3
and n
4
to 0.
To set double line spacing and select double-height characters set n
5
to 34.
To set double line spacing and select normal height characters set to n
5
to 33.
To set single line spacing and select double-height characters set to n
5
to 18.
To set single line spacing and select normal height characters set n
5
to 17.
To select double-width characters set n
6
to 2.
To select single-width characters set n
6
to 1.
LPRINT CHR$(27); CHR$(91); CHR$(64); CHR$(4); CHR$(0); CHR$(0);
CHR$(0); CHR$(34); CHR$(1); 'Set double line spacing and print double-
height, double-width characters.
Select character from the All Character Code table
Esc\n1n2
(27)(92)n1n2
<1Bh><5Ch>n1n2
data>
This command enables you to print characters from the All Character Code table.
n
1
and n
2
specify the number of characters to be printed.
The number of characters printed is 256*n
2
+n
1.
Control codes included in the character data are not executed.
LPRINT CHR$(27); CHR$(92); CHR$(64); CHR$(1); CHR$(65); CHR$(66);
CHR$(67); CHR$(68); CHR$(69); 'Print 320 characters starting ABCDE...
- 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