10/10/03

6.2.Page set up

Set page length

EscCn

(27)(67)n

<1Bh><43h>n

This command sets the page length in lines.

or

EscCNULn (27)(67)(00)n <1Bh><43h><00h>n

This command sets the page length in inches.

The top of form position is set to be the current line.

n is the number of lines that make up one page, or the length of the page in inches, according to which form of the command is used.

If the first form of the command is used (n = the number of lines in the page) the current line spacing setting is used to determine the length of the page.

If the first form of the command is used, n must be in the range 1 to 127.

If the second form of the command is used (n = page length in inches), n must be in the range 1 to 14.

LPRINT CHR$(27); CHR$(67); CHR$(40); '40 lines per page

LPRINT CHR$(27); CHR$(67); CHR$(0); CHR$(11); '11 inches per page

Set left margin

Escln (27)(108)n <1Bh><6Ch>n

This command sets the left margin in columns from the left edge of the page. The width of a column is the current character width.

In proportional spacing mode a column width of 1/10" is adopted.

This command clears all tab settings.

The minimum space allowed between the left and right margins is 1/5".

LPRINT CHR$(27); CHR$(108); CHR$(10); 'Left margin 1" at 10 cpi

Set right margin

EscQn

(27)(81)n

<1Bh><51h>n

This command sets the right margin in columns from the left edge of the page. The width of a column is the current character width.

In proportional spacing mode a column width of 1/10" is adopted.

This command clears all tab settings.

The minimum space allowed between the left and right margins is 1/5".

LPRINT CHR$(27); CHR$(81); CHR$(72); 'Right margin 6" at 12 cpi

Set perforation skip

EscNn

(27)(78)n

<1Bh><4Eh>n

This command sets the bottom margin and enables perforation skip, that is, whenever the print position reaches the bottom margin the printer performs a page eject and moves the print position to the top of the next page.

n = the number of lines at the current line spacing setting between the bottom margin and the bottom edge of the paper.

n must be in the range 1 to 127.

Esc C (Set Page Length) and Esc O (Cancel Perforation Skip) cancel automatic perforation skip.

If the bottom margin specified by this command would be located above the top margin, the command is ignored.

LPRINT CHR$(27); CHR$(78); CHR$(4); 'Set bottom margin to 4 lines.

Cancel perforation skip

EscO

(27)(79)

<1Bh><4Fh>

This command cancels the automatic perforation skip feature.

LPRINT CHR$(27); CHR$(79); 'Cancel perforation skip.

CHAPTER 6 EPSON - 13

Page 265
Image 265
Homelite HL-1660E, HL-P2500, HL-2400CE, HL-1450, HL-1050, HL-1250, HL-1470N, HL-1070, 2060, HL-1270N manual Set up