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

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to