[100795] in RedHat Linux List
Printing to an OKI 395
daemon@ATHENA.MIT.EDU (Kyle Hargraves)
Mon Nov 23 11:32:24 1998
Date: Tue, 24 Nov 1998 00:33:51 +0800 (WST)
From: Kyle Hargraves <kyle@nelson.hedland.edu.au>
To: redhat-list@redhat.com
In-Reply-To: <3.0.6.32.19981123105320.00a9dbe0@pop3.santafe.cc.fl.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hi,
I had an interesting printing problem which I thought I should share.
Many of you probably know that it is not possible to print multiple copies
via the command lpr -Pmy_queue -#n my.file (to print n copies) on
jet-direct or many other commercial print servers. The "solution" is to
directly connect a pc (running RH) to the printer and direct my_queue to
the pc (as server). The PC, connected directly to the printer, then
prints n copies - rahter than just one copy as formally.
Note that the HP print server can be a portable box or
a card contained within a HP laser (with inbult raw and text
queues)
Caldara would print directly to an OKI 395 printer without incident. RH
(5.1 & 5.2) would print a few copies and then the printer would "hang";
the 'on-line' switch would become inoperative and repowering the printer
was the only method of recovery. Swaping the OKI with a simple 9 pin dot
matrix printer caused no inconvenience; excepting of course that we were
no longer printing to the OKI.
Note that various emulations (filters) were trialed in
order to prevent the OKI from hanging. It seemed to work
as well (or as badly) on Epsom 9 pin or Epsom 24 pin.
Taking a look at the log file a "paper-out" message would appear every so
often. Cutting a long story short I removed pins 12 and 16 from the DB25
end of the cable (the paper-out sensors) and the OKI began to behave
itself. (the OKI has mechanical 'paper-out' sensors)
It would seem that Caldera does not read the LPT1 port but RH does; hence
the probllem of the printer hanging was not occuring with Caldera
However, what is interesting, is that a user who wishes to print via the
PC printserver MUST have an account on the PC. copying the hosts.lpd file
to hosts.equiv does not make any differece (and is should); the user must
have an account on the PC !!
Background : the existance of /etc/hosts.equiv ought to allow
printjobs from any user on a specified machine;
similarly - but with some qualifications - for
/etc/hosts.lpd.
cheers,
Kyle Hargraves
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.