[sane-devel] Error printing pdf files

Michael Carmack karmak@karmak.org
Thu, 11 Apr 2002 17:38:07 +0000


Does anyone know where "uncompress" is being called when PDF files are
printed? When I try to print PDF files, the following ends up in the log
files:

     (4445) Couldn't execute 'uncompress /tmp/filernYF8i.Z'
     (14113) Couldn't execute 'uncompress /tmp/filernGZ1UVs.Z'
     ...

There is one line like the above for each page in the PDF file: If
I have a PDF file that is 15 pages long, there will be 15 such entries 
in the log file.

The problem is clear: I don't have "uncompress" on my system. I've made
a sloppy workaround by creating a /bin/uncompress script that passes 
its arguments to gunzip, but I'd rather address this at the source,
(i.e. make SANE use gunzip instead of uncompress).

A "grep -rw uncompress" of the SANE source doesn't reveal anything.
Is this call coming from outside SANE? I ran an strace, but didn't
see anything obvious.

Thanks,
m.