logo       

Re: Re: a question about filter diagnostics: msg#00016

printing.cups.devel

Subject: Re: Re: a question about filter diagnostics


Anonymous wrote:
> Can you post the filter?
>
/var/log/cups$ cat /usr/lib/cups/filter/nullfilter
#!/bin/sh
echo "New print job: " $(date) >> $TMPDIR/nullfilter.log
echo "Parameters: " $* >> $TMPDIR/nullfilter.log
exit 0

/var/log/cups$ ls -l /usr/lib/cups/filter
total 2044
-rwxr-xr-x 1 root root 39688 Feb 15 22:37 hpgltops
-rwxr-xr-x 1 root root 19988 Feb 15 22:37 imagetops
-rwxr-xr-x 1 root root 49064 Feb 15 22:37 imagetoraster
-rwxr-xr-x 1 root root 231 May 20 16:28 nullfilter
-rwxr-xr-x 1 root root 995844 Feb 15 22:37 pdftops
-rwxr-xr-x 1 root root 21416 Feb 15 22:37 pstops
-rwxr-xr-x 1 root root 885224 Feb 15 22:37 pstoraster
-rwxr-xr-x 1 root root 5888 Feb 15 22:37 rastertodymo
-rwxr-xr-x 1 root root 11936 Feb 15 22:37 rastertoepson
-rwxr-xr-x 1 root root 9732 Feb 15 22:37 rastertohp
-rwxr-xr-x 1 root root 34184 Feb 15 22:37 texttops

> Can you post your "custom.type"?
>
Custome type in mime.types :
application/appqt04.ps contains(0,5000,";CREATE;BCODE;")
contains(0,5000,"TEKNIKRESIM")
Cups log :
d [20/May/2003:16:29:07 +0300] print_job(0x4029d008[2],
ipp://localhost:631/printers/cp1)
D [20/May/2003:16:29:07 +0300] print_job: auto-typing file...
D [20/May/2003:16:29:07 +0300] print_job: request file type is
application/appqt04.ps.


> Have you also defined a custom conversion rule (probably in a "custom.convs"
> file)?
>
The conversion rule in mime.convs :
application/appqt04.ps application/postscript 33 nullfilter

> What does it output if called with no arguments?
It is not supposed to produce any output; just trying to check whether or not
it's being called.


Thanks for your time,
Cem Han


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise