Problem printing from Firefox to Cups
jue at jue.li
Fri Jul 29 12:56:57 UTC 2011
On Thu, Jul 28, 2011 at 07:24:15PM +0200, Markus Heinz wrote:
thanks for the report, I see the same error here.
> I cannot print from firefox to cups. I use cups 1.4.8-1 and firefox
> 5.0.1-1. The message in the cups error log is as follows:
> Returning IPP client-error-document-format-not-supported for Print-Job
> (ipp://localhost:631/printers/dj5550) from localhost
if you set LogLevel to debug in /etc/cups/cupsd.conf you'll see another
error message in /var/log/cups/error_log:
Print-Job client-error-document-format-not-supported: Unsupported format
> I use the hpijs printer driver to print to a HP Deskjet 5550 printer.
> Printing the test page from the cups web interface works flawlessly.
> Printing from the chromium web browser does not work too. The error
> message is the same. The only way to print a web page for me is to
> print it from firefox to a PDF file and then print the PDF file from
> epdfview. This works.
> The problem existed before the latest cups update with cups version
> 1.4.6-1 too. I cannot exactly tell when it started. I only remember
> that some month ago I could print from firefox without problems.
> Has anyone an idea how to fix this?
The problem is that firefox, beginning with version 5, seems to use pdf
instead of ps for printing. With Firefox 4.x and 3.x we don't have the
The easiest fix is to modify cups' Pkgfile and change --with-pdftops=none
to --with-pdftops=gs and rebuild the cups package.
The drawback is that we introduce a circular dependency, because
ghostscript itself depends on cups.
The second possibility is to install either xpdf or poppler and use
--with-pdftops=pdftops with cups, which pulls in other dependencies.
Not very nice at all, but currently the only clean solution.
One idea might be to create a new port, maybe called pdf-utils, that
includes only the cli part of either poppler or xpdf.
HTH and best regards
More information about the CRUX