> On Fri, 29 May 1998, Mark Malecha wrote:
>
> > I am trying to set up the remote printer using tftp
> > protocol. Command line works fine, e.g.
> >
> > $ tftp printer
> > tftp> put testpage.ps
> >
> > prints OK, but I would like to be able to invoke printing
> > by lpr. What is the easiest way to do that?
>
> Set up a delivery filter. Do a "man printcap" and look at "if=".
Yes, I got that part going. My printcap entry for the
printer is:
unity:\
:sd=/var/spool/lpd/unity:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/unity/unity:\
:lp=/dev/null:
where /var/spool/lpd/unity/unity is manufacturer driver for
handling the tftp to the printer. lpr requests from the
linux machines work OK, but there is no output from the
Win95 machines coming through the samba server. Something
goes through to the printer, since there is "waiting for
data" message dispalying on the printer, but eventually it
times out ands nothing gets printed.
> Unfortunately there is a serious lack of documentation here. Also, you'll need
> to put "epsonps" or some similar filter into the pipeline to translate straight
> text into PostScript (you seem to have a Postscript printer there). I'll put my
> hacked copy of "epsonps" onto my web site tomorrow, along with a sample script
> (I hacked it so it would work as a filter, passing Postscript right on
> through). I'd do it today but I don't have it at home and UUNET Dallas appears
> to be dropping packets on the floor so telnet'ing in to the office isn't
> practical at the moment.
I was looking around your site today, but couldn't find it.
> Alternately, you can hack on the Red Hat print filters. This is probably
> the "right" way to do this, since the RH print filters use the "magic
> filter" setup that will automagically do things like, e.g., convert
> ..dvi files into .ps files for printing to the printer. I'd suggest looking at
I would like to hack RH filter, but I am not certain that I
understand this script well enough. Has anyone done
something similar?
Any help greatly appreciated.
--------- Mark Malecha
--------- [EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.