ANN: alternate pdftops filter 1.10

Helge Blischke h.blischke at srz.de
Fri Sep 29 08:18:40 PDT 2006


Jeff Chandler wrote:
> Helge,
> 
> Thanks for the addition.  When I use the new pdftops.pl filter, PDF documents do not print.  The error_log shows the following:
> 
> D [29/Sep/2006:10:11:11 -0400] [Job 31] envp[24]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
> d [29/Sep/2006:10:11:11 -0400] start_job: status_pipes = [ 10 11 ]
> d [29/Sep/2006:10:11:11 -0400] start_job: filter="/usr/lib/cups/filter/pdftops.pl"
> d [29/Sep/2006:10:11:11 -0400] start_job: filterfds[0]=[ 12 13 ]
> d [29/Sep/2006:10:11:11 -0400] cupsdStartProcess("/usr/lib/cups/filter/pdftops.pl", 0x91f0b50, 0xbffec6e8, -1, 13, 11)
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing filter pipes for slot 1 [ -1 -1 ]...
> I [29/Sep/2006:10:11:11 -0400] Started filter /usr/lib/cups/filter/pdftops.pl (PID 28030) for job 31.
> d [29/Sep/2006:10:11:11 -0400] start_job: print_pipes = [ 14 15 ]
> d [29/Sep/2006:10:11:11 -0400] start_job: filter="/usr/lib/cups/filter/pstops"
> d [29/Sep/2006:10:11:11 -0400] start_job: filterfds[1]=[ 14 15 ]
> d [29/Sep/2006:10:11:11 -0400] cupsdStartProcess("/usr/lib/cups/filter/pstops", 0x91f0b50, 0xbffec6e8, 12, 15, 11)
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing filter pipes for slot 0 [ 12 13 ]...
> I [29/Sep/2006:10:11:11 -0400] Started filter /usr/lib/cups/filter/pstops (PID 28031) for job 31.
> d [29/Sep/2006:10:11:11 -0400] start_job: backend="/usr/lib/cups/backend/socket"
> d [29/Sep/2006:10:11:11 -0400] start_job: filterfds[0] = [ -1 -1 ]
> d [29/Sep/2006:10:11:11 -0400] cupsdStartProcess("/usr/lib/cups/backend/socket", 0x91f0b50, 0xbffec6e8, 14, -1, 11)
> I [29/Sep/2006:10:11:11 -0400] Started backend /usr/lib/cups/backend/socket (PID 28032) for job 31.
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing print pipes [ 14 15 ]...
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing back pipes [ 8 9 ]...
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing status output pipe 11...
> d [29/Sep/2006:10:11:11 -0400] start_job: Closing filter pipes for slot 0 [ -1 -1 ]...
> d [29/Sep/2006:10:11:11 -0400] start_job: Adding fd 10 to InputSet...
> d [29/Sep/2006:10:11:11 -0400] cupsdAddEvent(event=job-state, dest=0x91b55c0(HP_9500_Alpha_printer), job=0x91f12a8(31), text="Job #%d started.", ...)
> D [29/Sep/2006:10:11:11 -0400] Discarding unused job-state event...
> D [29/Sep/2006:10:11:11 -0400] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
> d [29/Sep/2006:10:11:11 -0400] cupsdProcessIPPRequest: Adding fd 6 to OutputSet...
> d [29/Sep/2006:10:11:11 -0400] process_children()
> E [29/Sep/2006:10:11:11 -0400] PID 28030 (/usr/lib/cups/filter/pdftops.pl) stopped with status 22!
> D [29/Sep/2006:10:11:11 -0400] [Job 31] /usr/lib/cups/filter/pdftops.pl: No such file or directory
> 
> 
> PDFs have successfully printed with the first version of pdftops.pl, and I did not change the location of the file.
> 
> Any thoughts?
> 
> Thanks,
> 
> Jeff

In the first line of the script, change the

#!/opt/perl/bin/perl

to

#!/usr/bin/perl

or to whatever the home directory of your Perl executable
is.

Helge

PS:
The unusual path is due to the fact that this beast runs on
Solaris 9 at our site, and some of the Solaris administrative
utilities seem to depend on the Perl 5.6.x that comes with Solaris.
Thus I had to put my Perl 5.8.x somewhere else.





-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list