Brother HL-1050 Technical Reference Manual page 294

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

Advertisement

Set inter-character space
EscSPn
(27)(32)n <1Bh><20h>n
 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
(27)(97)n
 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
+(n
*256))/120".
1
2
 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
+(n
*256)))/120".
1
2
 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<
(27)(60)
This command has no effect.
Select / cancel unidirectional printing
EscU
(27)(85)
This command has no effect.
<1Bh><61h>n
<1Bh><24h>n1n2
+(n
*256)/120".
1
2
<1Bh><5Ch>n1n2
<1Bh><3Ch>
<1Bh><55h>
CHAPTER 6 EPSON - 10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents