Printing with filters

From: Edward Nowlan <Edward.S.Nowlan_at_williams.edu>
Date: Wed, 21 Jul 1999 20:11:14 -0400 (EDT)

I would like to set up filters in printcap so that from
unix I can print either postscript or text and the
the filter figures out which and prints it.

However I don't think the filters get used, because
I am lpring to an HP printer, remote machine.

lw-jesup-er|lw_jesup_er:\
        :sd=/var/spool/lpd/queues/lw-jesup-er:\
        :lf=/var/spool/lpd/queues/lw-jesup-er/lw-jesup-er.log:\
        :of=/usr/local/bin/a2psif:\
        :lp=:\
        :rm=lw-jesup-er.williams.edu:\
        :pl#66:\
        :pw#80:\
        :du#0:pl#72:pw#85:mx#0:\
        :rw:\
        :sh:\
        :sf:\
        :xf=/usr/lbin/xf:


Is there a way to set up a queue that will run it through this a2psif filter
then send it to the remote machine or requeue it to a different queue. I do not
want to create a text queue and a postscript and have the user make the mistake
of printing to the wrong one.

thanks.



                                -- Edward S. Nowlan
                                   Networks and Systems Administrator
                                   Williams College
                                   Voice: 413-597-2082
                                     Fax: 413-597-4103
                                   Email: edward.nowlan_at_williams.edu
     
Received on Thu Jul 22 1999 - 00:19:57 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT