[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: printing problems (again)
From:       Ferdinand Gassauer <gassauer () kde ! org>
Date:       2001-06-18 8:16:41
[Download RAW message or body]

On Friday 15 June 2001 13:15, Michael Goffioul wrote:
> > Hi!
> > I can print an image with lpr -P printer image.jpg.
> > I can print the image out of gimp 1.2
> > 
> > If  I try to print this image out of any KDE app, I get this error
> > message from CUPS 1.1.8 (not much)
> 
> First, you can increase the debug (log) level of CUPS, either by hacking
> the cupsd.conf file, or by using the cupsdconf utility ("Configure server"
> from KControl module, but you need write access to the cupsd.conf file).
> Second, from which application are you trying to print? It's completely
> different to print using "lpr image.jpg" than from kview for example. In
> the first case, the CUPS daemon receives a jpeg file and process it, in the
> second case the CUPS daemon receives directly PS data generated by kview.
> So how the file will be processed by CUPS is different. It may also depend
> on your printer: which data type does your printer accept (normally
> specified in PPD file).
> 
> > I [15/Jun/2001:12:29:48 +0100] Printer 'et_color' started by 'root'.
> > E [15/Jun/2001:12:29:49 +0100] Print file was not accepted
> > (client-error-bad-request)!
> > E [15/Jun/2001:12:29:49 +0100] PID 6405 stopped with status 1!
> > 

snip..
I have set the log level to debug
somewhere at the end I see: job-name = "file:/" followed by an error message
BTW I can produce a PS file and print it without problems.
can it be that the file is removed prior of sending it to the printer - there 
was a discussion about this matter on the list.

this printer uses ipp protocol  
DeviceURI ipp://et-color/ipp/port1 

the other one which works is a printqueue on a SCO  and uses this 
DeviceURI lpd://weisa.w.ftp.com/et_hp1  

D [18/Jun/2001:08:47:34 +0100] AcceptClient() 3 from 127.0.0.1:631.
D [18/Jun/2001:08:47:34 +0100] ReadClient() 3 POST / HTTP/1.1
D [18/Jun/2001:08:47:34 +0100] ReadClient() 3 GET /printers/et_color.ppd 
HTTP/1.1
D [18/Jun/2001:08:47:34 +0100] SendFile() 3 file=5
D [18/Jun/2001:08:47:34 +0100] AcceptClient() 5 from 127.0.0.1:631.
D [18/Jun/2001:08:47:34 +0100] ReadClient() 5 POST /printers/et_color HTTP/1.1
D [18/Jun/2001:08:47:34 +0100] print_job: auto-typing file...
D [18/Jun/2001:08:47:34 +0100] print_job: request file type is 
application/postscript.
D [18/Jun/2001:08:47:34 +0100] check_quotas: requesting-user-name = 'root'
D [18/Jun/2001:08:47:34 +0100] print_job: requesting-user-name = 'root'
D [18/Jun/2001:08:47:34 +0100] copy_banner(0x4018d220, 70, "none")
D [18/Jun/2001:08:47:34 +0100] copy_banner(0x4018d220, 70, "none")
I [18/Jun/2001:08:47:34 +0100] Job 70 queued on 'et_color' by 'root'.
D [18/Jun/2001:08:47:34 +0100] Job 70 hold_until = 0
D [18/Jun/2001:08:47:34 +0100] StartJob(70, 0808a450)
D [18/Jun/2001:08:47:34 +0100] StartJob() id = 70, file = 0/1
D [18/Jun/2001:08:47:34 +0100] job-sheets=none,none
D [18/Jun/2001:08:47:34 +0100] banner_page = 0
D [18/Jun/2001:08:47:34 +0100] StartJob: argv = 
"et_color","70","root","file:/","1","root OutputOrder=Forward 
multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3","/var/spool/cups/d00070-001"
D [18/Jun/2001:08:47:34 +0100] StartJob: envp = 
"PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso \
-8859-1","LANG=de-de","TZ=GMT","PPD=/etc/cups/ppd/et_color.ppd","CUPS_SERVERROOT=/etc/ \
cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postsc \
ript","DEVICE_URI=ipp://et-color/ipp/port1","PRINTER=et_color","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","",""
 D [18/Jun/2001:08:47:34 +0100] StartJob: statusfds = 6, 7
D [18/Jun/2001:08:47:34 +0100] StartJob: filterfds[1] = 8, -1
D [18/Jun/2001:08:47:34 +0100] StartJob: filter = 
"/usr/lib/cups/filter/pstops"
D [18/Jun/2001:08:47:34 +0100] StartJob: filterfds[0] = 9, 10
D [18/Jun/2001:08:47:34 +0100] start_process("/usr/lib/cups/filter/pstops", 
bfff7b2c, bfff2fdc, 8, 10, 7)
I [18/Jun/2001:08:47:34 +0100] Started filter /usr/lib/cups/filter/pstops 
(PID 1528) for job 70.
D [18/Jun/2001:08:47:34 +0100] StartJob: filter = 
"/usr/lib/cups/filter/cupsomatic"
D [18/Jun/2001:08:47:34 +0100] StartJob: filterfds[1] = 8, 11
D [18/Jun/2001:08:47:34 +0100] 
start_process("/usr/lib/cups/filter/cupsomatic", bfff7b2c, bfff2fdc, 9, 11, 7)
I [18/Jun/2001:08:47:34 +0100] Started filter /usr/lib/cups/filter/cupsomatic 
(PID 1529) for job 70.
D [18/Jun/2001:08:47:34 +0100] StartJob: backend = "/usr/lib/cups/backend/ipp"
D [18/Jun/2001:08:47:34 +0100] StartJob: filterfds[0] = -1, 9
D [18/Jun/2001:08:47:34 +0100] start_process("/usr/lib/cups/backend/ipp", 
bfff7b2c, bfff2fdc, 8, 9, 7)
I [18/Jun/2001:08:47:34 +0100] Started backend /usr/lib/cups/backend/ipp (PID 
1530) for job 70.
D [18/Jun/2001:08:47:35 +0100] CloseClient() 5
D [18/Jun/2001:08:47:35 +0100] EBUG: Page = 595x842; 9,40 to 586,816
D [18/Jun/2001:08:47:35 +0100] Cupsomatic backend version 0.4i running...
D [18/Jun/2001:08:47:35 +0100] called with arguments: 
'70','root','file:/','1','root OutputOrder=Forward 
multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3'
D [18/Jun/2001:08:47:35 +0100] ppd=/etc/cups/ppd/et_color.ppd
D [18/Jun/2001:08:47:35 +0100] options: ->root OutputOrder=Forward 
multiple-document-handling=separate-documents-collated-copies 
orientation-requested=3<-
D [18/Jun/2001:08:47:35 +0100] Pondering option `root'
D [18/Jun/2001:08:47:35 +0100] Unknown bool? option root.
D [18/Jun/2001:08:47:35 +0100] Pondering option `OutputOrder=Forward'
D [18/Jun/2001:08:47:35 +0100] Unknown option OutputOrder=Forward.
D [18/Jun/2001:08:47:35 +0100] Pondering option 
`multiple-document-handling=separate-documents-collated-copies'
D [18/Jun/2001:08:47:35 +0100] Unknown option 
multiple-document-handling=separate-documents-collated-copies.
D [18/Jun/2001:08:47:35 +0100] Pondering option `orientation-requested=3'
D [18/Jun/2001:08:47:35 +0100] Unknown option orientation-requested=3.
D [18/Jun/2001:08:47:35 +0100] PJL:  %-12345X@PJL JOB NAME="CUPSOMATIC"
D [18/Jun/2001:08:47:35 +0100] <job data>
D [18/Jun/2001:08:47:35 +0100]  %-12345X@PJL RESET
D [18/Jun/2001:08:47:35 +0100] @PJL EOJ
D [18/Jun/2001:08:47:35 +0100] /usr/lib/cups/filter/cupsomatic: prepended:
D [18/Jun/2001:08:47:35 +0100] gs  PID pid2=1533
D [18/Jun/2001:08:47:35 +0100] tail process done writing data to *main::STDOUT
D [18/Jun/2001:08:47:35 +0100] document-format-supported (5 values)
D [18/Jun/2001:08:47:35 +0100] [0] = "text/plain"
D [18/Jun/2001:08:47:35 +0100] [1] = "text/plain; charset=US-ASCII"
D [18/Jun/2001:08:47:35 +0100] [2] = "application/postscript"
D [18/Jun/2001:08:47:35 +0100] [3] = "application/vnd.hp-PCL"
D [18/Jun/2001:08:47:35 +0100] [4] = "application/octet-stream"
D [18/Jun/2001:08:47:35 +0100] printer-uri = "ipp://et-color:631/ipp/port1"
D [18/Jun/2001:08:47:35 +0100] requesting-user-name = "root"
D [18/Jun/2001:08:47:35 +0100] job-name = "file:/"
E [18/Jun/2001:08:47:35 +0100] PID 1530 stopped with status 1!
E [18/Jun/2001:08:47:35 +0100] Print file was not accepted 
(client-error-bad-request)!
D [18/Jun/2001:08:47:35 +0100] D [18/Jun/2001:08:47:35 +0100] UpdateJob: job 
70, file 0 is complete.
D [18/Jun/2001:08:47:35 +0100] StopJob: id = 70
I [18/Jun/2001:08:47:35 +0100] Saving printers.conf...


-- 
cu
ferdinand
on SuSE 7.0 current CVS
 
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic