*BSD News Article 47791


Return to BSD News archive

#! rnews 2350 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!news.sprintlink.net!EU.net!Germany.EU.net!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!comma.rhein.de!serpens!not-for-mail
From: mlelstv@serpens.rhein.de (Michael van Elst)
Newsgroups: comp.unix.bsd.misc
Subject: Re: Printcap filters question
Date: 22 Jul 1995 15:47:00 +0200
Organization: dis-
Lines: 38
Message-ID: <3uqvgk$obr@serpens.rhein.de>
References: <3u0hjg$j0g@jeeves.niehs.nih.gov> <3u5c8n$ki0@cocoa.brown.edu> <3ulji2$1e09@msunews.cl.msu.edu>
NNTP-Posting-Host: serpens.rhein.de

behrooz@egr.msu.edu (Roozbeh Behrooz) writes:

>     I have a somehow similar problem. I have a remote printer which only
>     understands postscript.  There is no way for me to set any filters on the 
>     remote printer (The queue is on a network card e.g. HPLJ4SI).
>     It seems that when we specify a remote queue and a remote machine, the
>     local filters are ignored.  

Yes, that's intended. The host with the printer is supposed to do all
the filtering.

>     Specifically, I am trying to convert text files into postscript and then
>     send it to the remote printer. Is there an easy way to do this?

Well, you have to make some host do the filtering. This host then has to
"simulate" a local printer. In my printer scripts this is simple to do
as I can chose a shell script that sends the data to the printer. I have
scripts that send data to stdout (i.e. a local tty port), an Emulex
printer server, NCD X-Terminals with printer port or any TCP port (I use
this with a HPLJ 4 with Ethernet card and send the data to port 9100).

>     I have another question here: In system V you can have your queue point
>     to a group of printers rather than just one. That is, if one is busy or
>     broken, the job will go to another printer.  Is there a way to do this 
>     in BSD (e.g. Ultrix?)

Well. The printer system always thinks in terms of queues. If you want
to manage multiple printers with a single queue then you could make the
filter program do that. I haven't seen such a filter though.

Regards,

>     Thanks for any pointers you can give me.
-- 
                                Michael van Elst

Internet: mlelstv@serpens.rhein.de
                                "A potential Snark may lurk in every tree."