|
Re: a question about filter diagnostics: msg#00017printing.cups.devel
cem_han%@xxxxxxxxx wrote: > > 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 Your filter does not match the command line requirements for filters (see the software programmers manual): - job-id (a number) - username - the job's title - number of copies (an integer) - additional options (a string containing white sopace separated substrings) - [optional:] pathname of the file to process; read from stdin if this parameter is missing Helge -- H.Blischke-5dK1KTCurcbQLMG2gba6HQ@xxxxxxxxxxxxxxxx H.Blischke-5dK1KTCurcY4Q++5jOxPmw@xxxxxxxxxxxxxxxx H.Blischke-HInyCGIudOg@xxxxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: a question about filter diagnostics: 00017, cem_han%-/E1597aS9LQAvxtiuMwx3w |
|---|---|
| Next by Date: | Re: Re: Re: a question about filter diagnostics: 00017, Kurt Pfeifle |
| Previous by Thread: | Re: Re: a question about filter diagnosticsi: 00017, cem_han%-/E1597aS9LQAvxtiuMwx3w |
| Next by Thread: | Re: Re: Re: a question about filter diagnostics: 00017, Kurt Pfeifle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |