Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CRUX (http://www.linux-archive.org/crux/)
-   -   Bad communication between the gimp and cups (http://www.linux-archive.org/crux/500196-bad-communication-between-gimp-cups.html)

Hazel Russman 03-11-2011 06:42 PM

Bad communication between the gimp and cups
 
This is a new problem but I don't know precisely when it started as I don't often print images in gimp.I certainly used to be able to do so, but now the job does not enter the print queue and I get the following cups error:

Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/My_printer) from localhost

When I run cups in debug mode, this error message is preceded by the following lines:

D [10/Mar/2011:20:17:21 +0000] cupsdAcceptClient: 10 from localhost (Domain)
D [10/Mar/2011:20:17:21 +0000] cupsdReadClient: 10 POST /printers/My_printer HTTP/1.1
D [10/Mar/2011:20:17:21 +0000] cupsdSetBusyState: Active clients
D [10/Mar/2011:20:17:21 +0000] cupsdAuthorize: No authentication data provided.
D [10/Mar/2011:20:17:21 +0000] cupsdReadClient: 10 1.1 Print-Job 1
D [10/Mar/2011:20:17:21 +0000] Print-Job ipp://localhost:631/printers/My_printer
D [10/Mar/2011:20:17:21 +0000] [Job ???] Auto-typing file...
I [10/Mar/2011:20:17:21 +0000] [Job ???] Request file type is application/pdf.
D [10/Mar/2011:20:17:21 +0000] Print-Job client-error-document-format-not-supported: Unsupported format 'application/pdf'!

In fact the image in the gimp is not a pdf but a png, and in any case pdfs are certainly not unsupported; I can print them from xpdf without any problems. I can also print text from OOo. Only the gimp fails.

I thought at first that it had something to do with my gutenprint build being much older that the latest version of cups (the cups README says you should always build gutenprint after cups), so I rebuilt it, but that did not cure the problem.

Unfortunately I find the cups documentation rather opaque!
--
Hazel Russman <hazel_russman@yahoo.co.uk>
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Juergen Daubert 03-11-2011 08:46 PM

Bad communication between the gimp and cups
 
On Fri, Mar 11, 2011 at 07:42:39PM +0000, Hazel Russman wrote:

Hi Hazel,

> This is a new problem but I don't know precisely when it started as
> I don't often print images in gimp.I certainly used to be able to do
> so, but now the job does not enter the print queue and I get the
> following cups error:

thanks for the report, I'm able to reproduce the problem here. Seems
that printing with gimp via the gtk+ printer API is broken currently.
Dunno why, but it might be a problem with new ghostscript 9.x.

I've modified the gutenprint port to allow building of the gimp printer
plugin, with that printing works fine for me. Hope for you as well.


regards
Juergen

--
Juergen Daubert | mailto:jue@jue.li
Korb, Germany | http://jue.li/crux

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Hazel Russman 03-12-2011 11:55 AM

Bad communication between the gimp and cups
 
On Fri, 11 Mar 2011 at 22:46:59 +0100, Juergen Daubert wrote:
> thanks for the report, I'm able to reproduce the problem here. Seems
> that printing with gimp via the gtk+ printer API is broken currently.
> Dunno why, but it might be a problem with new ghostscript 9.x.
>
> I've modified the gutenprint port to allow building of the gimp printer
> plugin, with that printing works fine for me. Hope for you as well.
>

Thanks, Juergen, that was quick work! Your new "Print with gutenprint" option works fine.
--
Hazel Russman <hazel_russman@yahoo.co.uk>
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux


All times are GMT. The time now is 02:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.