Line Feed

Line Feed

ASCII Code LF

Hex Code 0A

Dec Code 10

Purpose Prints the data in the buffer (if any) and advances the vertical character position a distance of one line at the current line spacing.

Comment The logical print head keeps the same distance from the margin. The current line is printed and the logical printhead moves down a distance equal to the current line spacing. If there are no dots, paper moves and no printing occurs. When possible, successive line feeds are accumulated and moved at once.

This code cancels all one-line-only emphasis and font selections: double-wide from SO and ESC SO, and unidirectional printing from ESC <.

Line Feed n/216 Inch

ASCII Code ESC J n

Hex Code

1B 4A n

Dec Code

27 74 n

Purpose

Immediately advances the paper n/216 inch.

where:

n = 0 through 255

Comment

n = 0 is ignored. Paper movement occurs in multiples of 3/216

 

inch. This command produces an immediate line feed but does

 

not affect line spacing or produce a carriage return. Any one-

 

line-only print attributes in effect are canceled.

 

Small values of n may result in overlapping lines. Overlapping

 

lines may also occur if print attributes such as double high,

 

superscript, or subscript characters are used on the same line.

Example

The following example illustrates n/216-inch line spacing.

177

Page 177
Image 177
IBM 4400 manual Line Feed n/216 Inch