Using characters – Brother HL-2170W User Manual
Page 330
CHAPTER 7 IBM PROPRINTER - 14
5.3.
Using Characters
Select character set I
Esc7 (27)(55)
<1Bh><37h>
This command selects IBM Character set I for use in subsequent printing operations.
LPRINT CHR$(27); CHR$(55); 'Select character set I
Select character set II
Esc6 (27)(56)
<1Bh><36h>
This command selects IBM character set II for use in subsequent printing operations.
LPRINT CHR$(27); CHR$(54); 'Select character set II
Set pitch to 10 cpi
DC2
(18)
<12h>
This command sets the printing pitch to 10 characters per inch (cpi).
If condensed character mode has previously been set, it is cancelled.
LPRINT CHR$(18); 'set pitch to 10 CPI
Set pitch to 12 cpi
Esc: (27)(58)
<1Bh><3Ah>
This command sets the printing pitch to 12 characters per inch (cpi).
LPRINT CHR$(27); CHR$(58); 'set pitch to 12 CPI
Proportional spacing
EscPn
(27)(80)n
<1Bh><50h>n
This command allows you to turn proportional spacing on or off.
Setting n to 1 turns proportional spacing on. Subsequent text is printed proportionally spaced.
Setting n to 0 turns proportional spacing off. Subsequent text is printed monospaced.
If you change the character pitch using DC2, SI or Esc :, proportional spacing is automatically turned
off.
LPRINT CHR$(27); CHR$(80); CHR$(1); 'Turn proportional spacing on
Set condensed character mode
SI
(15)
<0Fh>
This command selects condensed character mode. Subsequent text characters are condensed
horizontally when printed.
The DC2 code, used to select a character pitch of 10 cpi, cancels condensed character mode.
LPRINT CHR$(15); 'Set condensed character mode
Set emphasized character mode
EscE (27)(69)
<1Bh><45h>
This command turns emphasized character mode on. Subsequent text is printed with a bold stroke width.
LPRINT CHR$(27); CHR$(69); 'Turn emphasized character mode on
Cancel emphasized character mode
EscF (27)(70)
<1Bh><46h>
This command turns emphasized character mode off. Subsequent text is printed with medium stroke
width.
LPRINT CHR$(27)l CHR$(70); 'Turn emphasized character mode off
- 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