Printek Emulation

Escape Sequence:

ESC

^

Hexadecimal:

1B

5E

Form Length and Form Feed

Form length is the distance from the top of the form to the bottom of the form. A form feed will advance the paper to the top of the next form. Some programs do not send form feeds. Instead, they count line feeds, and send the appropriate number of line feeds to fill out the page. The usual rational is that the program is then in complete control of form length, and will work on any printer without requiring the correct form length to be set. However, the correct form length should always be set with the control panel setup. Even if the program does not use form feeds, the printer will automatically scroll a completed form up to the tear bar to be torn off. This automatic scroll is based upon form length. The easiest way to set form length is via the “Form Length” value in the forms menu, so it will be correctly set for everyone using the form. If correct form length cannot be guaranteed from SETUP, then each program should set the correct form length.

Set Form Length in Lines

ESC FF n

Sets the form length to n lines at the current line spacing. 1≥n≥255. Maximum form length is 37.9 inches. Invalid form lengths will be ignored. Overrides the “Forms Length” value in the forms menu.

For example, an 11 inch form contains 66 lines at 6 LPI, but 88 lines at 8 LPI. If line spacing is changed after setting the form length, the physical form length (in inches) will not be changed.

Resets top of form to the current position, so it is wise to be at top of form before setting form length. Issuing a form feed will guarantee this. Vertical margins are cleared.

Example: The following escape sequence will set form length to 66 lines. At 6 LPI, this will result in a form length of 11 inches.

Escape sequence:

ESC

FF

66

Hexadecimal:

1B

0C

42

Form Feed

 

 

FF

Causes the current line to be printed, and then advances the paper to the top of the next form. If a top margin is set, printing will continue at the top margin. Setting “Host FF at TOF” to “No” in the interface setup menu allows a form feed to be ignored if the paper is already at top of form. If “Auto CR” is set to “On” in the interface setup menu, a carriage return will also be performed.

Control code:

FF

Hexadecimal:

0C

Horizontal Tabs

Default horizontal tab stops are set at every eighth column, i.e. column 8, 16, 24, 32, 40, etc. The default tab stops are associated with columns, not absolute physical positions. Changing character spacing will change the physical position of the default tab stops.

98

Page 104
Image 104
Printek 8000 manual Form Length and Form Feed, Set Form Length in Lines ESC FF n