Brother HL-2170W User Manual

Page 301

Advertising
background image

CHAPTER 6 EPSON - 13

Enable out-of-paper sensor

Esc9 (27)(57)

<1Bh><39h>

The printer ignores this command.

Disable out-of-paper sensor

Esc8 (27)(56)

<1Bh><38h>

The printer ignores this command.

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.

Advertising