Johan Claesson schrieb:
>
> Christoph Beyer wrote:
> >
> > printcap:
> >
> > r02ps10|2b_200_p1|HP_4000N:\
> > :sd=/usr/spool/lpd/request/r02ps10:\
> > :lp=r02ps10%9100:\
> > :lf=/usr/spool/lpd/request/%P/log:\
> > :ifhp=model=hp4m:\
> > :filter=/usr/libexec/filters/ifhp:\
> > :bp=/usr/libexec/filters/psbanner:\
> > :of=/usr/libexec/filters/ifhp:\
> > :mx#0:\
> > :bk:\
> > :du#16:\
> >
> > ifhp.conf:
> >
> > # PRINTER % - HP LaserJet 4M, has limited pagecount capability
> > [ hp4m ]
> > pagecount=ps
> >
> > # *text* ps /usr/libexec/filters/ascii host=\%s{H} user=\%s{n}
> >
> > file_output_match = [
> > *postscript* ps \%s{ps_converter}
> > *pcl* pcl \%s{pcl_converter}
> > *pjl* pjl \%s{pjl_converter}
> >
>
> Use ZOPTS only, without the %s-stuff:
> *text* ps /usr/libexec/filters/ascii ZOPTS
> ^^^^^^^
>
> > *printer*job*language* pjl
> > *gzip_compressed* filter \%s{gzip_decompress}
> > ]
> >
>
> Works for me!
>
> BR /Johan
> --
> Ericsson Network Core Products
> Unix Systems Management [EMAIL PROTECTED]
> Box 1505 Phone: +46 8 727 30 95
> S-125 25 �LVSJ�, Sweden Fax: +46 8 647 82 76
>
hmmm,
not for me:
Filter_status: initial job type 'ascii_text' at 16:18:40.346
Filter_status: decoded job type 'POSTSCRIPT' at 16:18:40.346
Filter_status: job type 'POSTSCRIPT', converter
'/usr/libexec/filters/ascii ZOPTS' at 16:18:40.346
Filter_status: WARNING - 'ZOPTS' and 'TOPS' conversion options replaced
by {Z} and {T} - '/usr/libexec/filters/ascii ZOPTS' at 16:18:40.347
Filter_status: started CONVERTER- '/usr/libexec/filters/ascii ZOPTS' at
16:18:40.367
Filter_status: converter done, output 13962 bytes at 16:18:40.499
"/usr/libexec/filters/ascii Z" doesn't work either...
Christoph
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------