Horizontal Spacing Commands

Function:

Carriage return

Format:

ASCII<CR>

Decimal13

H e x a d e c i m a l O D

Remarks:

Returns the print head to the left margin. If auto-line feed is on, paper is also advanced one line.

Function:

Set right margin

Format:

 

“Q”

 

ASCII

<ESC>

n

Decimal

27

81

n

H e x a d e c i m a l 1 B

51

n

Remarks:

Sets a right margin at n character columns of the current character width. The value of n can range from 1 to 255. This command must be sent at the beginning of a line. If a line to be printed exceeds the right margin, a carriage return and line feed will be inserted to keep the line from exceeding the right margin.

Function:

Set left margin

Format:

 

 

 

ASCII

< E S C >

" 1 " n

Decimal

27

108

n

H e x a d e c i m a l 1 B

49

n

Remarks:

Set the left margin at n character positions of the current character width. The value of n can range from 0 to 160, but if the value is too large (if it results in a left margin greater than 8 inches), the command will be ignored. This command should be placed at the beginning of a line.

A - 7