Proportional Spacing - Brother HL Series Technical Reference Manual

Hide thumbs Also See for HL Series:
Table of Contents

Advertisement

2009/06/29
5.3.
Using Characters
Select character set I
Esc7
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
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
• 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:
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
• 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
• 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
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
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
(27)(55)
<1Bh><37h>
(27)(56)
<1Bh><36h>
(18)
<12h>
(27)(58)
<1Bh><3Ah>
(27)(80)n
<1Bh><50h>n
(15)
<0Fh>
(27)(69)
<1Bh><45h>
(27)(70)
<1Bh><46h>
CHAPTER 7 IBM PROPRINTER - 14

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents