Hi Joel,
I think yur problen might be solved by the "file_output_match" section in
the lpd.conf. You can define it for every printertype:
file_output_match = [
*postscript* ps \%s{ps_converter}
*pdf* ps /usr/spool/filters/pdf
*pcl* pcl \%s{pcl_converter}
*pjl* pjl \%s{pjl_converter}
*printer*job*language* pjl
*text* ps /usr/spool/filters/ascii host=\%s{H} user=\%s{n} filename=\
%s{N} Z=\%s{Z} T=\%s{T}
*tex_dvi* ps /usr/local/bin/dvips -q -f
*gzip_compressed* filter \%s{gzip_decompress}
*msx_game_cartridge_dump* ps /usr/spool/filters/ascii host=\%s{H}
user=\%s {n} filename=\%s{N} Z=\%s{Z} T=\%s{T}
*pc_color_pointer* ps /usr/spool/filters/ascii host=\%s{H} user=\%s{n}
filename=\%s{N} Z=\%s{Z} T=\%s{T}
* msg no_converter
]
best regards
~christoph
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8998-4060 *
\* 22603 Hamburg | http://www.desy.de */
On Mon, 22 Jul 2002, Joel Hammer wrote:
> Well, it must be possible to configure your filtering system to just pass
> through certain file types. Poke around, find the script that decides how to
> handle various file types (file ) and fix it.
>
> Joel
>
> On Mon, Jul 22, 2002 at 03:49:23PM -0400, Ryan Novosielski wrote:
> > That's the current solution, but I was kinda hoping for one that would
> > still filter the jobs so some shmoe couldn't come along and print a binary
> > to it.
> >
> > ---- _ _ _ _ ___ _ _ _
> > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
> > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> > \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
> >
> > On Sun, 21 Jul 2002, Joel Hammer wrote:
> >
> > > Would the solution then be to set up a queue called kodak which doesn't have a
> > > filter?
> > > Joel
> > >
> > > > I am sending to the 'ps' queue on the printer (it accepts PostScript and
> > > > Raster). When I send it with the filter line commented out, it works. When
> > > > I send it using 'ifhp' as my filter, it does what I said before.
> > > >
> > >
> > > -----------------------------------------------------------------------------
> > > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> > > The address you post from MUST be your subscription address
> > >
> > > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> > > or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> > > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> > > with: | example:
> > > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> > > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
> > >
> > > If you have major problems, send email to [EMAIL PROTECTED] with the word
> > > LPRNGLIST in the SUBJECT line.
> > > -----------------------------------------------------------------------------
> > >
> >
> >
> > -----------------------------------------------------------------------------
> > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> > The address you post from MUST be your subscription address
> >
> > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> > or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> > with: | example:
> > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
> >
> > If you have major problems, send email to [EMAIL PROTECTED] with the word
> > LPRNGLIST in the SUBJECT line.
> > -----------------------------------------------------------------------------
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------