Hi everybody,
I have some problems printing gzip'ed files to a queue with ifhp specified as a filter
for automatic uncompressing.
My configuration:
Redhat 7.3
LPRng-3.8.15 (compiled and installed from source rpm)
ifhp-3.5.10 (compiled and installed from source rpm)
/etc/printcap:
lp
:force_localhost
:[EMAIL PROTECTED]
:mx=0
:sd=/var/spool/lpd/%P
:filter=/usr/libexec/filters/ifhp -Twaitend@,status@,sync@,pagecount@
:sh
1. the default ifhp.conf causes gzip'ed print files to be set to error
"no_converter given", because the "gzip_decompress"-converter is not defined in
ifhp.conf
## UNIX File utility path
file_util_path= /usr/bin/file \%s{inputfile}
## Patterns and Converters
# example conversion program
file_output_match = [
*postscript* ps \%s{ps_converter}
*pdf* ps \%s{pdf2ps_converter}
*pcl* pcl \%s{pcl_converter}
*pjl* pjl \%s{pjl_converter}
*printer*job*language* pjl
*text* pcl \%s{text_converter}
*gzip_compressed* filter \%s{gzip_decompress}
* msg no_converter
]
2. setting "gzip_decompress" in ifhp.conf to
/usr/bin/gzip -c -d
causes endless filter loops on gzip'ed files
3. changing
file_util_path= /usr/bin/file \%s{inputfile}
to
file_util_path= /usr/bin/file -
works !!!!
But after the every job has completed successfully, a temporary file named
ifhpxxxxx
is left in the queue directory.
Many thanks for any tips
Thomas Vogt
______________________________________________________________________________
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo,
ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------