Problem with rastertohp

cupsuser cups at yoda.im
Wed May 21 07:06:27 PDT 2008


Hi

I seem to be having a strange issue with rastertohp

Here's the relevant portion of my error_log (debug level) after I try printing something:

D [21/May/2008:09:55:00 -0400] [Job 3] argv[0]="dtlabelprinter"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[1]="3"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[2]="root"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[3]="Test Page"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[4]="1"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[5]="job-uuid=urn:uuid:3605779c-132a-3799-5d4b-e519cf2d0bd6"
D [21/May/2008:09:55:00 -0400] [Job 3] argv[6]="/usr/local/var/spool/cups/d00003-001"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[0]="CUPS_CACHEDIR=/usr/local/var/cache/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[4]="CUPS_REQUESTROOT=/usr/local/var/spool/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[5]="CUPS_SERVERBIN=/usr/local/lib/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[7]="CUPS_STATEDIR=/usr/local/var/run/cups"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[8]="PATH=/usr/local/lib/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[9]="SERVER_ADMIN=root at lpo-tomcat-03.vmsinfo.com"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[10]="SOFTWARE=CUPS/1.3.7"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[11]="TMPDIR=/usr/local/var/spool/cups/tmp"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[12]="TZ=America/New_York"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[13]="USER=root"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[14]="CUPS_SERVER=/usr/local/var/run/cups/cups.sock"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[16]="IPP_PORT=631"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[17]="CHARSET=utf-8"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[18]="LANG=en_US.UTF8"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[19]="PPD=/usr/local/etc/cups/ppd/dtlabelprinter.ppd"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[20]="RIP_MAX_CACHE=8m"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[21]="CONTENT_TYPE=application/postscript"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[22]="DEVICE_URI=socket://216.169.131.228:9100"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[23]="PRINTER=dtlabelprinter"
D [21/May/2008:09:55:00 -0400] [Job 3] envp[24]="FINAL_CONTENT_TYPE=printer/dtlabelprinter"
I [21/May/2008:09:55:00 -0400] [Job 3] Started filter /usr/local/lib/cups/filter/rastertohp (PID 30538)
I [21/May/2008:09:55:00 -0400] [Job 3] Started filter /usr/local/lib/cups/filter/rastertohp (PID 30539)
I [21/May/2008:09:55:00 -0400] [Job 3] Started backend /usr/local/lib/cups/backend/socket (PID 30540)
D [21/May/2008:09:55:00 -0400] Discarding unused job-state-changed event...
D [21/May/2008:09:55:00 -0400] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [21/May/2008:09:55:00 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
E [21/May/2008:09:55:00 -0400] [Job 3] Unable to open raster file - : Permission denied
D [21/May/2008:09:55:00 -0400] Discarding unused printer-state-changed event...
D [21/May/2008:09:55:00 -0400] cupsdCloseClient: 11
D [21/May/2008:09:55:00 -0400] PID 30537 (/usr/local/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [21/May/2008:09:55:00 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:00 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:00 -0400] Discarding unused printer-state-changed event...
D [21/May/2008:09:55:00 -0400] [Job 3] Connected to 216.169.131.228:9100 (IPv4)...
D [21/May/2008:09:55:00 -0400] [Job 3] backendRunLoop(print_fd=0, device_fd=5, use_bc=1, side_cb=0x8048d54)
E [21/May/2008:09:55:01 -0400] PID 30538 (/usr/local/lib/cups/filter/rastertohp) stopped with status 1!
E [21/May/2008:09:55:01 -0400] [Job 3] No pages found!
D [21/May/2008:09:55:01 -0400] Discarding unused printer-state-changed event...
D [21/May/2008:09:55:01 -0400] [Job 3] Read 4 bytes of print data...
D [21/May/2008:09:55:01 -0400] [Job 3] Wrote 4 bytes of print data...
D [21/May/2008:09:55:01 -0400] Discarding unused printer-state-changed event...
E [21/May/2008:09:55:01 -0400] PID 30539 (/usr/local/lib/cups/filter/rastertohp) stopped with status 1!
D [21/May/2008:09:55:02 -0400] cupsdReadClient: 7 GET /printers/dtlabelprinter HTTP/1.1
D [21/May/2008:09:55:02 -0400] cupsdAuthorize: Authorized as root using Basic
D [21/May/2008:09:55:02 -0400] [CGI] /usr/local/lib/cups/cgi-bin/printers.cgi started - PID = 30541
I [21/May/2008:09:55:02 -0400] Started "/usr/local/lib/cups/cgi-bin/printers.cgi" (pid=30541)
D [21/May/2008:09:55:02 -0400] cupsdSendCommand: 7 file=10
D [21/May/2008:09:55:02 -0400] cupsdAcceptClient: 11 from localhost (Domain)
D [21/May/2008:09:55:02 -0400] cupsdReadClient: 11 POST / HTTP/1.1
D [21/May/2008:09:55:02 -0400] cupsdAuthorize: No authentication data provided.
D [21/May/2008:09:55:02 -0400] CUPS-Get-Default
D [21/May/2008:09:55:02 -0400] CUPS-Get-Default client-error-not-found: No default printer
D [21/May/2008:09:55:02 -0400] cupsdProcessIPPRequest: 11 status_code=406 (client-error-not-found)
D [21/May/2008:09:55:02 -0400] [CGI] show_printer(http=0x881e648, printer="dtlabelprinter")
D [21/May/2008:09:55:02 -0400] cupsdReadClient: 11 POST / HTTP/1.1
D [21/May/2008:09:55:02 -0400] cupsdAuthorize: No authentication data provided.
D [21/May/2008:09:55:02 -0400] Get-Printer-Attributes ipp://localhost/printers/dtlabelprinter
D [21/May/2008:09:55:02 -0400] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] cupsdReadClient: 11 POST / HTTP/1.1
D [21/May/2008:09:55:02 -0400] cupsdAuthorize: No authentication data provided.
D [21/May/2008:09:55:02 -0400] Get-Jobs ipp://localhost:631/printers/dtlabelprinter
D [21/May/2008:09:55:02 -0400] cupsdProcessIPPRequest: 11 status_code=0 (successful-ok)
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] [CGI] lang="en_US.UTF8", locale="/en_US"...
D [21/May/2008:09:55:02 -0400] PID 30541 (/usr/local/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [21/May/2008:09:55:02 -0400] cupsdCloseClient: 11
D [21/May/2008:09:55:03 -0400] cupsdReadClient: 8 GET /images/printer-processing.gif HTTP/1.1
D [21/May/2008:09:55:03 -0400] cupsdAuthorize: Authorized as root using Basic
D [21/May/2008:09:55:03 -0400] cupsdSendError: 8 code=304 (Not Modified)



Please note the "E [21/May/2008:09:55:00 -0400] [Job 3] Unable to open raster file - : Permission denied" line.

Here's the contents of my /usr/local/lib/cups/filter directory :

lrwxrwxrwx  1 root root      21 May 21 09:54 foomatic-rip -> /usr/bin/foomatic-rip
-rwxr-xr-x  1 root root    9812 May 21 09:33 gziptoany
-rwxr-xr-x  1 root root   95461 May 21 09:33 hpgltops
-rwxr-xr-x  1 root root   43334 May 21 09:33 imagetops
-rwxr-xr-x  1 root root   97359 May 21 09:33 imagetoraster
-rwxr-xr-x  1 root root 2231288 May 21 09:33 pdftops
-rwxr-xr-x  1 root root   70956 May 21 09:33 pstops
lrwxrwxrwx  1 root root      13 May 21 09:33 rastertodymo -> rastertolabel
-rwxr-xr-x  1 root root   29903 May 21 09:33 rastertoepson
-rwxr-xr-x  1 root root   27953 May 21 09:33 rastertohp
-rwxr-xr-x  1 root root   32501 May 21 09:33 rastertolabel
-rwxr-xr-x  1 root root   60370 May 21 09:33 texttops

Any suggestions?





More information about the cups mailing list