6.2. Page set up; Esc9 (27)(57) ; Esc8 (27)(56) - Page 303

Brother HL-1870N Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
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 

EscC

(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 (

= 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 (

= 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. 

 

= 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. 

Detailed Information for Brother HL-1870N Command Reference Guide for Software Developers

Lists of information found in Brother HL-1870N Command Reference Guide for Software Developers - Page 303

  • 6.2.
  • 27.  If the second form of the command is used ( n = page length in inches), n must be in the range 1 to 14.
  • 27.  Esc C (Set Page Length) and Esc O (Cancel Perforation Skip) cancel automatic perforation skip.

Related Documents for Brother HL-1870N Command Reference Guide for Software Developers