2006/05/31
CHAPTER 6 EPSON - 15
Cancel perforation skip
EscO (27)(79) <1Bh><4Fh>
This command cancels the automatic perforation skip feature.
LPRINT CHR$(27); CHR$(79); 'Cancel perforation skip.
6.3. Line Spacing
Select 1/6" line spacing
Esc2 (27)(50) <1Bh><32h>
• This command sets the line spacing to 1/6". All subsequent line feed operations will move the print
position 1/6" down the page.
• This line spacing is the default setting when the printer is switched on or reset.
LPRINT CHR$(27); CHR$(50); 'Set line spacing to 1/6".
Select 1/8" line spacing
Esc0 (27)(48) <1Bh><30h>
This command sets the line spacing to 1/8". All subsequent line feed operations will move the print
position 1/8" down the page.
LPRINT CHR$(27); CHR$(48); 'Set line spacing to 1/8".
Select 7/72" line spacing
Esc1 (27)(49) <1Bh><31h>
• This command sets the line spacing to 7/72". All subsequent line feed operations will move the print
position 7/72" down the page.
• Since the printer resolution is 600 dots per inch the line spacing will not be exactly 7/72".
LPRINT CHR$(27); CHR$(49); 'Set line spacing to 7/72".
Select n/72" line spacing
EscAn (27)(65)n <1Bh><41h>n
• This command sets the line spacing to n/72". All subsequent line feed operations will move the print
position n/72" down the page.
• Since the printer’s resolution is 600 dots per inch the line spacing will not be exactly n/72".
• n must be in the range 1 to 85.
• If n is outside the range 1 to 85 the default line spacing, 1/6" is selected.
LPRINT CHR$(27); CHR$(65); CHR$(10); 'Set line spacing of 10/72".
Select n/216" line spacing
Esc3n (27)(51)n <1Bh><33h>n
• This command sets the line spacing to n/216". All subsequent line feed operations will move the
print position n/216" down the page.
• Since the printer’s resolution is 600 dots per inch the line spacing will not be exactly n/216".
• n must be in the range 1 to 255.
LPRINT CHR$(27); CHR$(51); CHR$(25); 'Select line spacing of 25/216".
Perform n/216" line feed
EscJn (27)(74)n <1Bh><4Ah>n
• This command performs a single line feed, moving the print position down the page by n/216".
• This command does not perform a carriage return.
• The current line spacing setting is not affected.
• n must be in the range 0 to 255.
• The actual vertical distance moved may not be exactly the distance you specify due to the printer’s
600 dots per inch resolution.
LPRINT CHR$(27); CHR$(74); CHR$(54); '1/4" line feed