Brother HL-1050 Technical Reference Manual page 250

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

Advertisement

99/08/03
Set inter-character space
EscSPn
• This command allows you to set the space between successive characters.
• n is the space between characters in multiples of 1/120".
• n must be in the range 0 to 127.
LPRINT CHR$(27); CHR$(32); CHR$(5); 'Set 1/24" char space
Select justification mode
Escan
• This command allows you to select the justification mode for subsequent text.
• Set n to 0 to select left justification.
• Set n to 1 to centre subsequent text.
• Set n to 2 to select right justification.
• Set n to 3 to select full justification (text will be both left and right justified).
• The default justification mode is left justification.
• The horizontal tab, HT, and backspace, BS, control codes can only be used in left justification mode.
LPRINT CHR$(27); CHR$(97); CHR$(2); 'Right justify text
Set absolute print position
Esc$n1n2 (27)(36)n1n2
• This command allows you to print characters a specified distance in from the left margin.
• The unit of movement is 1/60".
• The specified distance to be moved is n
• If the specified position is to the right of the right margin the command is ignored.
LPRINT CHR$(27); CHR$(36); CHR$(120); CHR$(0); 'Print a line 2" in
Set relative print position
Esc\n1n2 (27)(92)n1n2
• This command allows you to print characters a specified distance to the left or right of the current
print position.
• The unit of movement is 1/120".
• If you wish to move the print position to the right, the distance the print position is to be moved is
calculated as (n
• If you wish to move the print position to the left, the distance the print position is to be moved is
calculated as (65536 – (n
• If the specified position is beyond the left or right margin the command is ignored.
LPRINT CHR$(27); CHR$(36); CHR$(180); CHR$(0); 'Print a line 1.5" to
the right
Select unidirectional printing
Esc<
This command has no effect.
Select / cancel unidirectional printing
EscU
This command has no effect.
Set data MSB to 0
Esc=
• This command enables you to set the most significant bit of incoming data bytes to 0.
• This command does not affect data comprising a graphics image or data that defines a downloadable
character.
LPRINT CHR$(27); CHR$(61); 'Set MSB to 0
(27)(32)n <1Bh><20h>n
(27)(97)n
<1Bh><61h>n
<1Bh><24h>n1n2
<1Bh><5Ch>n1n2
+(n
*256))/120".
1
2
+(n
*256)))/120".
1
2
(27)(60)
<1Bh><3Ch>
(27)(85)
<1Bh><55h>
(27)(61)
<1Bh><3Dh>
CHAPTER 6 EPSON - 10
+(n
*256)/120".
1
2

Advertisement

Table of Contents
loading

Table of Contents