Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Okidata form feed problems

25 views
Skip to first unread message

John

unread,
Jan 28, 1997, 3:00:00 AM1/28/97
to

To:THE WISE OLD MEN OF SCO

Concerning:Okidata 320 and an extra form feed

Have a prob. with my oki 320, (LP0) on OS5. Got it set up as proprinter
(tried epson already and also standard-unknown) and I get an extra page
after each document/report that is printed. The ff is turned off, I
added the appropriate line in the .../rc.d/8/userdef file {article
480205} and it still gives me the page. When configured as standard I
get a slightly different problem in only one area ( a 3/4 eject after
the report the first time and a full page every time after that ) I
figure it must be easier to fix the full page eject under proprinter
emulation. Any suggestions from the wise old guru's out there? ANY
help would be much appreciated.

John Chipchase
jo...@neton.com

Roger Cornelius

unread,
Jan 29, 1997, 3:00:00 AM1/29/97
to

[On 28 Jan 97 16:15 -0600, jo...@neton.com wrote:]

Some of the interface scripts (standard is one) attempt to determine how
to do a formfeed by looking for a terminfo entry for the printer using
tput. If it finds one, it uses it. If not, it counts lines and pads
the last page to fill it. If your print job contains a formfeed
character, the printer acts on it, printing whatever number of lines
needed to go to the next page. But the script counted only a single line of
output. Consequently the line counting mechanism gets out of sync and
you end up with a partial form feed. This could be the cause of the 3/4
eject you mention.

The solution is to associate a terminfo entry (one which describes the ff
capability) with the printer. A simple one which is already included
in terminfo.src is lpr.

To associate a terminfo entry with a printer:

For 3.2v4.2 (or others with sysadmsh), start sysadmsh, choose
(Printers)->(Configure)->(Parameters), enter the name of the printer to
modify, then change the "Printer name in terminfo database" field to
"lpr" (or whatever terminfo entry you need).

For OSR5, start scoadmin printer, highlight the printer to modify,
choose (Settings)->(Advanced)->(Terminfo Type) and set to desired
terminfo name.

You can also use the -T option to lpadmin to get the same affect. E.g.:
lpadmin -p<printer> -T<terminfoname>

Roger

--
Roger Cornelius @uunet.uu.net:rac@sherpa r...@intnet.net

Grant Walters

unread,
Jan 29, 1997, 3:00:00 AM1/29/97
to jo...@neton.com

John wrote:
>
> To:THE WISE OLD MEN OF SCO
>
> Concerning:Okidata 320 and an extra form feed
>
> Have a prob. with my oki 320, (LP0) on OS5. Got it set up as proprinter
> (tried epson already and also standard-unknown) and I get an extra page
> after each document/report that is printed. The ff is turned off, I
> added the appropriate line in the .../rc.d/8/userdef file {article
> 480205} and it still gives me the page. When configured as standard I
> get a slightly different problem in only one area ( a 3/4 eject after
> the report the first time and a full page every time after that ) I
> figure it must be easier to fix the full page eject under proprinter
> emulation. Any suggestions from the wise old guru's out there? ANY
> help would be much appreciated.
>

Under normal print queuese the extra formfeed is in the printer
interface file.

This is in /usr/spool/lp/admins/lp/interfaces

In the proprinter script there is are ff=no and nff=no on lines 67 & 68
of
the script. If these are both set to no then the extra page is probably
coming from applications.

I much prefer using the crnlmap interface script because it is very
plain.
If you don't need to specify options then use this and modify it by hand
if needed.

Hope this helps

Regards
GRANT WALTERS

0 new messages