0e — lineden, 0f — pagelen, 10 — p 5cpi – I-Data 5250 ALLY User Manual

Page 105

Advertising
background image

Page 4-11

CHAPTER 4 — PROGRAMMABLE FUNCTION STRINGS

0E — LINEDEN

This is used to set the line density at the printer. This PFS is sent to the

printer whenever the System changes the line density setting in response to

an SCS Set Line Density or Set Single Line Distance command.
Although the 5250 ALLY normally performs vertical movement at the

printer using PFS 0D — VERMOVE, there are two reasons that the printer

may need to know the actual line density.

1. The user can cause the 5250 ALLY to use Line Feeds (PFS 09 —

LF) instead of PFS 0D — VERMOVE by setting Option 46 —

Vertical Movement to Line Feed (!AGILE!46=02;).
If the 5250 ALLY is using Line Feeds to perform vertical

movement, the printer needs to know the line density so that the line

spacing created by the Line Feeds will be correct.

2. If the printer supports continuous feed paper (i.e., fanfold) then the

printer needs to know the length of the paper so that it can move the

correct distance when it receives a Form Feed. Most printers set

forms length as a number of lines per page after the line density has

been set. (See PFS 0F — PAGELEN below.)
The new line density is sent as the parameter of this PFS and is

converted to the unit of measurement specified by Option 48 —

Vertical Resolution.

0F — PAGELEN

This is used to set the length of the form, and it is sent to the printer in

response to an SCS Set Vertical Format or Set Initial Conditions command.

This is usually needed only for printers that use continuous forms, such as

fanfold paper. Because the length of the form is set in lines per page, the

line density must be set correctly at the printer in order for the forms

length to be set properly. For this reason, PFS 0E — LINEDEN must be

set correctly in order for this PFS to work.

10 — P 5CPI

Print 5 characters per inch in portrait orientation. This PFS is sent to the

printer when the 5250 ALLY’s page orientation algorithm has selected a

portrait orientation, and when the System has requested a font with a pitch

of 5 CPI or less (using either an SCS Set Character Density command or

an SCS Set FID through GFID command).

Advertising