Chapter 5 Configuring the Proprinter III XL Emulation with Control Codes

Line Spacing n/216 Inch

ASCII Code ESC 3 n

Hex Code

1B 33 n

Dec Code

27 51 n

Purpose

Specifies the line spacing at n/216-inch increments.

where:

n = 1 through 255 (hex 01 through hex FF)

Comment

When the n/216-inch line spacing control code is received, all

 

line feeds following are at n/216-inch line spacing until a new line

 

spacing is selected or the printer is reset. The control code line

 

spacing selection overrides the control panel line spacing

 

setting.

 

The vertical character position moves only in multiples of the

 

current dot row spacing. If the distance to move is other than a

 

multiple of the current dot row spacing, the remainder is added

 

to the next paper motion command.

 

Caution should be used when combining this control code with

 

other print attributes such as Elongated (Double High),

 

Superscript, or Subscript; overlapping lines may occur. Printing

 

at different horizontal and vertical densities do not overlap.

Example

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

Margins, Left/Right, Set

ASCII Code ESC X n1 n2

Hex Code

1B 58 n1 n2

Dec Code

27 88 n1 n2

Purpose

Sets the left (n1) and right (n2) margins.

n1 and n2 are the margin positions (in character columns), which are based on the current cpi. They have a range of 1 through

255.Any value that sets the right margin beyond the form width is ignored.

where:

if n1

= 0, the left margin is unaffected.

 

if n2

= 0, the right margin is unaffected.

140

Page 140
Image 140
IBM 4400 manual Margins, Left/Right, Set, Ascii Code ESC X n1 n2 Hex Code