FS#21388 - [ghostscript] Upgrade to v9 breaks printing of ps/pdf documents on Epson printer
Attached to Project:
Arch Linux
Opened by Massimiliano Torromeo (mtorromeo) - Thursday, 21 October 2010, 13:41 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 24 January 2011, 15:06 GMT
Opened by Massimiliano Torromeo (mtorromeo) - Thursday, 21 October 2010, 13:41 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 24 January 2011, 15:06 GMT
|
Details
Description:
I have 2 printers (Samsung and Epson). Both were configured and worked correctly. After the last upgrade of ghostscript (ghostscript-9.00-1-x86_64), the Epson printer doesn't print anymore pdf documents. Printing an html page from chromium still works. The printer is using the following driver: Epson AcuLaser C1900PS Foomatic/eplaser. If I change the driver to "Epson AcuLaser C1900PS Foomatic/ljet4" which is compatible but only black&white, printing the pdf documents works. Downgrading to ghostscript-8.71-3-x86_64 fixes the problem. No errors are displayed in any of the cups log files. The problem has been reproduced on 5 different machines. Additional info: * broken: ghostscript-9.00-1 * working: ghostscript-8.71-3 * arch: x86_64 Steps to reproduce: * Install ghostscript-9.00-1 * Configure an "Epson AcuLaser C1900PS Foomatic/eplaser" printer * Print a PDF from any pdf viewer (okular, epdfview) Expected result: * The printer outputs the document. Actual result: * The printer doesn't respond and shows no sign of activity. |
This task depends upon
When the print job stops I get the following status message:
"/usr/lib/cups/filter/pstoraster failed"
ghostscript 8.71-3
libspectre 0.2.6-1
as I commented in
FS#21502.http://bugs.ghostscript.com/show_bug.cgi?id=691733
http://bugs.ghostscript.com/show_bug.cgi?id=691539
http://bugs.ghostscript.com/show_bug.cgi?id=691586
particularly the first one (in which I put a comment). No answer from the devs at present.
As above, downgrading to previous version of ghostscript and libspectre solves the problem.
PDF files with evince or acrored prints fine.
So
https://bugs.archlinux.org/task/21524?opened=8334&type[0]=&sev[0]=&due[0]=&cat[0]=&status[0]=open&percent[0]=&reported[0]=
Depends too on the ghostscript update but issue is different.
Anfrage-ID ist Samsung–159 (1 Datei(en))
Print is ok so might be not only ghostscript???
Prints from any Browser are inverted pictures text and maps... and printing from eog too...
This bug looks more relevant: https://bugs.archlinux.org/task/21524 , but it's closed as a duplicate of this one... sooo...
I have OKI B410d printer, using OKI's own driver, available as AUR package: http://aur.archlinux.org/packages.php?ID=38047
Everything is fine with ghostscript 8.71-3, upgrading to 9.00-1 causes images in PDF files to be printed
in negative. I thought it was a problem with my .tex files or pdflatex or png files themselves.
PDF files that contain png images with transparency cause the entire page to be negative.
Without transparency just the png file is negative. JPG files are negative as well, converting between png, eps and pdf
formats doesn't help either. I even tried taking a screenshot of a png image ;)
Creating a negative png image, putting it in the .tex document and printing that results in correct printout
(the same as when original image and ghostscript 8.71 is used).
I have also tried using different drivers, for example ljet4 works fine, without
negative images, but it stops working after the first printout - all I get is some garbage on the paper.
I also tried printing a pdf file downloaded from the Internet, from this tutorial:
http://www.andy-roberts.net/misc/latex/latextutorial5.html (this file: http://www.andy-roberts.net/misc/latex/tutorial5/import.pdf )
and the images were inverted as well.
I opened a bug report for the negative images here: http://bugs.ghostscript.com/show_bug.cgi?id=691759
From the .so bump we have rebuild all packages in extra. Whoever has problems after the release should get in contact with upstream devs. So far I cannot see a packaging bug. A downgrade won't fix the bugs for the future and can only be a temporary solution.
You may also want to have a look at other distros and their related bugs:
http://pkgs.fedoraproject.org/gitweb/?p=ghostscript.git;a=blob;f=ghostscript.spec;h=00c21bb8a363149d01d9adaf61517b2f6129f229;hb=master
http://packages.debian.org/experimental/ghostscript
http://gentoo-portage.com/AJAX/Ebuild/117829/View
Therefore, recompiling the drivers may not help much in my view (but a try is worth thousand views!).
This script, in turn, runs 'gs' from ghostscript, and 'rastertohp' which is a binary, but is a part of regular cups (and doesn't directly link against anything ghostscript-related).
When when 9.00-1 is used the first page looks fine, and the rest is just garbage. It does not produce negative images though,
so it might be a completely different bug :(
Update: Using different input file (the one I used before) results in negative images... (which, I guess, still doesn't necessarily mean that this is the same bug)
but this one went straight to [extra]... Which is rather unfortunate... I would run into the same problem anyway
since I use [testing], but at least people who don't use it would not have problems :)
Whener you find a good solution drop me a line. Usually Fedora is doing heavy patching to stay near the upstream developement. Look out for similar bugs they may have and contact the upstream devs.
I have an HP B-109.
XEROX Phaser 6110 MFP
Splix 2.0.0-7
It doesn't solve the inverted images issue though.
No idea about inverted colors. I expect it to be an unrelated bug.
Also, the issue with the inverted colors was finally fixed in r12005. :D
This makes me think that all bugs reported here have been solved. We only need to make archlinux adopt the patchset. We either wait for a new upstream release, or include the corrections of r12005 and r12010 into the current package.
This seems to be related to
FS#21524merged here. From the list, I understandthat an upstream fix in ghostscript may have solved this problem, but I wanted
to make sure this information was captured here in case the issue I see with
HP drivers is somehow different from the Samsung/Epson issue. The problem with
inverse greyscale I see is as follows:
Saving a google maps map as pdf (in firefox) and then printing in Okular using a HP
Laserjet 4 via the HP Laserjet PCL 4/5 driver prints the maps in inverse greyscale
(i.e. the whole page is black with the roads shown in white). I've checked the
driver settings and regardless of whether you specify greyscale or color, the
inverse printing is the same. Prints fine from windows.
For the other bugs please open new issues that we can try to fix.
What should I do?
Reopen
FS#21524?