搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

While printing a web page, the background images are blacked out.

  • 2 回覆
  • 38 有這個問題
  • 3 次檢視
  • 最近回覆由 skierpage

more options

Firefox 5 with Print What You Like on Ubuntu 11.04 64bit AMD Athlon II X4 635 Gigabyte GA-880GM-UD2H 8GB DDR3

After upgrading to Firefox 5, while printing web pages (with cups-pdf) background images are not printed and there is a blacked out area instead of the image. Print preview shows the image correctly, but while printing I get this error in almost all web sites.

Firefox 5 with Print What You Like on Ubuntu 11.04 64bit AMD Athlon II X4 635 Gigabyte GA-880GM-UD2H 8GB DDR3 After upgrading to Firefox 5, while printing web pages (with cups-pdf) background images are not printed and there is a blacked out area instead of the image. Print preview shows the image correctly, but while printing I get this error in almost all web sites.

所有回覆 (2)

more options

I'm having the same problem in Ubuntu 11.04 32 bit. I have an AMD quad core processor with 8 gigs of ram. Cups-pdf worked perfectly with all Firefox versions until version 5. It still works fine with Chrome, but chrome doesn't let me format the page size. I'm a Realtor and send out many pdf files each week of properties for sale from our MLS. Not being able to print them in Firefox with cups-pdf is a major problem for me. The print preview is fine. Printing to paper is fine. The black images only appear when viewing cups-pdf generated pdf files. A sample is attached. Each black square is a picture. Thank you for your work on resolving the issue.

由 tractor 於 修改

more options

The workaround is to not "print" to the cups-pdf printer, instead use Firefox's built-in ability to make a PDF. Just File > Print > Print to file and choose Output format: pdf.

I'm having a similar problem. Kubuntu 11.04, 64-bit SeaMonkey 2.3 beta (beta 3?, "X11; Linux x86_64; rv:6.0 Gecko/20110806"), which is equivalent to a Firefox 6 beta. I "print" a mail message and some web pages to PDF files using cups-pdf, then transfer the files to a Windows machine, load them in Windows Adobe Reader X and print to an actual printer. If I preview the PDFs in the Okular PDF preview program on Linux, the pages look fine. But when I load in Adobe Reader X, the images appear and print black! I filed bug 680639 , but the bug isn't in Firefox, it's in particulars of how CUPS (sometimes) converts into PDF and then Ghostscript converts back to PDF using an advanced feature.

My workaround was to install the Foxit Reader on Windows, which previews and prints the images in these PDFs just fine. So the PDF produced by Mozilla code sent to cups-pdf can result in black images in certain PDF implementations, but works in others. On Linux I also tried Adobe Reader 9 (black images) and Inkscape (black images in PDF preview, empty paths where the images should be on import). For comparison I copied and pasted the text and images into LibreOffice Writer, printed to a PDF file from that, and the LibreOffice Writer PDF appeared fine in every one of these programs.

kadal27 and tractor, I wonder if you view your Firefox PDF output (you may have to turn on printing to a file to capture it to a file) using a Linux PDF previewer like Evince, Okular, or Poppler , do you still see black where images are supposed to be?

由 skierpage 於 修改