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=". 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. 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 the Samba setup and modifying it to use tftp instead. Look at your /etc/printcap for a normal printer and see where the "if=" is pointing, then read that script for more info. Eric Lee Green [EMAIL PROTECTED] Linux & Educational Administration computer solutions http://members.tripod.com/~e_l_green -- 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.
Re: remote printer tftp and lpr, how?
Eric Lee Green <[EMAIL PROTECTED]> Sun, 31 May 1998 19:47:34 -0400
- remote printer tftp and lpr, how? Mark Malecha
- Re: remote printer tftp and ... Eric Lee Green <[EMAIL PROTECTED]>
- Re: remote printer tftp ... Mark Malecha
- Re: remote printer tftp and ... Eric L. Green <[EMAIL PROTECTED]>