On Sunday 01 August 2004 10:37 pm, Graham Smith wrote:
On Mon, 2 Aug 2004 14:23, Scott Leighton wrote:
Yeah, I thought of that one. Prints fine locally. I'm still scratching my head over *where* cups thinks it is sending this stuff that it supposedly printed.... I've watched the activity light on the printer, it's not going there so it's not like the printer chokes on it and discards it or something.
And the cups log shows it sent it on to the backend, so where the heck did it go?
[01/Aug/2004:20:01:59 -0700] Adding end banner page "none" to job 37. I [01/Aug/2004:20:01:59 -0700] Job 37 queued on 'RawDeskjet' by 'LEGGS51'. I [01/Aug/2004:20:01:59 -0700] Started backend /usr/lib64/cups/backend/parallel (PID 24337) for job 37.
Sorry I have just noticed this thread.
If you run lpstat -a is the printer 'RawDeskjet' mentioned?
Yes. helphand:/etc/cups # lpstat -a hp_deskjet720c accepting requests since Jan 01 00:00 RawDeskjet accepting requests since Jan 01 00:00 helphand:/etc/cups #
If you do have this printer name it may help to increase the debug level for cups to see what is actually happening.
Done.
Try and print something from Windows and then have a look at the log files for cups.
Done, no change. Still doesn't print.
The other area where you can have trouble is trying to print raw data to the printer. There are two files involved. /etc/cups/mime.convs and /etc/cups/types.
Edit both these files as root.
Done.
Now restart cups and try printing again from windows.
Done, again no change.
If this does not work, please post the output from lpstat -a and the relevant lines from the error.log with the increased debug level.
Here's the log.... D [01/Aug/2004:22:49:50 -0700] AcceptClient: 5 from localhost:631. D [01/Aug/2004:22:49:50 -0700] ReadClient() 5 POST / HTTP/1.1 D [01/Aug/2004:22:49:50 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:49:50 -0700] ReadClient() 5 POST / HTTP/1.1 D [01/Aug/2004:22:49:50 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:49:50 -0700] CloseClient() 5 D [01/Aug/2004:22:49:50 -0700] AcceptClient: 5 from localhost:631. D [01/Aug/2004:22:49:50 -0700] ReadClient() 5 POST / HTTP/1.1 D [01/Aug/2004:22:49:50 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:49:50 -0700] CloseClient() 5 D [01/Aug/2004:22:49:50 -0700] AcceptClient: 5 from localhost:631. D [01/Aug/2004:22:49:50 -0700] ReadClient() 5 POST /printers/RawDeskjet HTTP/1.1 D [01/Aug/2004:22:49:50 -0700] print_job: auto-typing file... D [01/Aug/2004:22:49:50 -0700] print_job: request file type is application/vnd.cups-raw. D [01/Aug/2004:22:49:50 -0700] check_quotas: requesting-user-name = 'LEGGS51' D [01/Aug/2004:22:49:50 -0700] print_job: requesting-user-name = 'LEGGS51' D [01/Aug/2004:22:49:50 -0700] Adding default job-sheets values "none,none"... I [01/Aug/2004:22:49:50 -0700] Adding start banner page "none" to job 38. I [01/Aug/2004:22:49:50 -0700] Adding end banner page "none" to job 38. I [01/Aug/2004:22:49:50 -0700] Job 38 queued on 'RawDeskjet' by 'LEGGS51'. D [01/Aug/2004:22:49:50 -0700] Job 38 hold_until = 0 D [01/Aug/2004:22:49:50 -0700] StartJob(38, 0x570c50) D [01/Aug/2004:22:49:50 -0700] StartJob() id = 38, file = 0/1 D [01/Aug/2004:22:49:50 -0700] StartJob: Sending job to queue tagged as raw... D [01/Aug/2004:22:49:50 -0700] job-sheets=none,none D [01/Aug/2004:22:49:50 -0700] banner_page = 0 D [01/Aug/2004:22:49:50 -0700] StartJob: argv = "RawDeskjet","38","LEGGS51","smbprn.00000003 http://my.myway.com/my.jsp","1","","/var/spool/cups/d00038-001" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[0]="PATH=/usr/lib64/cups/filter:/bin:/usr/bin" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[1]="SOFTWARE=CUPS/1.1" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[2]="USER=root" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[3]="CHARSET=utf-8" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[4]="LANG=en_US" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[5]="PPD=/etc/cups/ppd/RawDeskjet.ppd" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[7]="RIP_MAX_CACHE=8m" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[9]="CONTENT_TYPE=application/vnd.cups-raw" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[11]="PRINTER=RawDeskjet" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[14]="CUPS_SERVER=localhost" D [01/Aug/2004:22:49:50 -0700] StartJob: envp[15]="IPP_PORT=631" D [01/Aug/2004:22:49:50 -0700] StartJob: statusfds = [ 7 8 ] D [01/Aug/2004:22:49:50 -0700] StartJob: filterfds[1] = [ 9 -1 ] D [01/Aug/2004:22:49:50 -0700] StartJob: backend = "/usr/lib64/cups/backend/parallel" D [01/Aug/2004:22:49:50 -0700] StartJob: filterfds[0] = [ -1 10 ] D [01/Aug/2004:22:49:50 -0700] start_process("/usr/lib64/cups/backend/parallel", 0x7fbffedd00, 0x7fbffecee0, 9, 10, 8) I [01/Aug/2004:22:49:50 -0700] Started backend /usr/lib64/cups/backend/parallel (PID 26429) for job 38. D [01/Aug/2004:22:49:50 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:49:50 -0700] CloseClient() 5 D [01/Aug/2004:22:49:52 -0700] UpdateJob: job 38, file 0 is complete. D [01/Aug/2004:22:49:52 -0700] CancelJob: id = 38 D [01/Aug/2004:22:49:52 -0700] StopJob: id = 38, force = 0 D [01/Aug/2004:22:49:52 -0700] StopJob: printer state is 3 D [01/Aug/2004:22:50:05 -0700] AcceptClient: 5 from localhost:631. D [01/Aug/2004:22:50:05 -0700] ReadClient() 5 POST / HTTP/1.1 D [01/Aug/2004:22:50:05 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:50:05 -0700] ReadClient() 5 POST / HTTP/1.1 D [01/Aug/2004:22:50:05 -0700] ProcessIPPRequest: 5 status_code=0 D [01/Aug/2004:22:50:05 -0700] CloseClient() 5 Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.95-default x86_64