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}
*text* ps /usr/libexec/filters/ascii \%s{ZOPTS}
*printer*job*language* pjl
*gzip_compressed* filter \%s{gzip_decompress}
]
versions:
LPRng 3.6.24
IFHP 3.3.21
doing echo test | lpr -Zlandscape -Pr02ps10 I get:
Filter_status: file information = 'ascii_text' at 14:28:56.957
Filter_status: initial job type 'ascii_text' at 14:28:56.957
Filter_status: decoded job type 'POSTSCRIPT' at 14:28:56.958
Filter_status: job type 'POSTSCRIPT', converter
'/usr/libexec/filters/ascii ' at 14:28:56.958
Filter_status: started CONVERTER- '/usr/libexec/filters/ascii ' at
14:28:56.977
Filter_status: converter done, output 13962 bytes at 14:28:57.304
Filter_status: transferring 13962 bytes at 14:28:57.305
Filter_status: 73 percent done at 14:28:57.306
Filter_status: 100 percent done at 14:28:57.346
the option 'landscape' is not passed to the filter, I tried some
different syntax but didn't succeed, probably it is something obvious...
regards Christoph
> hi,
>
> I'm using the latest releases of LPRng and the IFHP package on a SOLARIS
> 2.7 machine as server. I don't get the ZOPTS passed to a selfmade
> converter. The entry in the "file_output_match"
> /usr/libexec/filter/myfilter ZOPTS doesn't work,
> /usr/libexec/filter/myfilter Z doesn't work either. Has their been any
> recent changes that are not mentioned in the HOWTO???
>
> regards Christoph
>
>1. Printcap?
>2. Versions?
>3. Proof of this? i.e. - output, trace, copies of death threats from
> users?
>
>Thanks!
>
>Patrick Powell
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------