[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I tried the solution in post #56, now it works. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
One "workaround" for this which seems consistently to work for me is to first print it to another PDF file via cups-pdf, and then open the generated PDF file, and print it (all printing done via evince). This may mean that a "good" filter is being used by cups-pdf, which might be able to be adapted to solve the problem here. (?) -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
By the way, the updated libcairo2 (comment #56) packages do not solve the problem for me, whereas the printing twice (first via cups-pdf) workaround I mentioned does. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
My environment is: Ubuntu Karmic, Evince Document Viewer 2.28.1 (running on poppler 0.12.0), printer HP LaserJet 4050PS. Workaround: change printer driver from recomended (HP LaserJet 4050 Series Postscript) to HP LaserJet 4050 - CUPS+Gutenprint v5.2.4. The result is that I can print from evince without problems. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Loïc, the fix in Cairo seems to help most users. What about an SRU for Karmic to get this fix into Karmic? Are the upstream developers of Cairo also aware that the fix does not solve the problem in all situations? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I confirm that the fix in cairo helps most users. I have deployed Janne Hyötylä's PPA (cf comment #56) on all the Ubuntu Karmic PCs in my company for sevel weeks now and it works great ; they are now able to print with evince on our HP Postscript printers. Some users here say it doesn't fix their printing problem, but it's probably a second bug with requires another fix. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I can also confirm that the PPA packages with the libcairo fix work well with several karmic boxes installed inside a large network and with several samba printers. I had no particular problems reported by the users. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
> Are the upstream developers of Cairo also aware that the fix does not solve the problem in all situations? No. Probably because it is a different bug. If you think you've found a cairo printing bug I suggest the following: 1. First show that the PDF fails to print when cairo is part of the printing pipeline but prints correctly when cairo is not involved: a) Check that using poppler to generate the PostScript then sending the PS file directly to the printer bypassing any cups filters works: pdftops file.pdf lpr -o raw file.ps b) Then use cairo to convert the PDF to PS. This can be done by opening the file in evince and printing to a PS file. Print with "lpr -o raw". If this fails but (a) works it is a cairo bug. c) Alternatively you can use evince to print to PDF then use pdftops to convert to PS. If this fails to print but (a) works it is a cairo bug. 2. Either report the bug on cairo bugzilla, send mail to the cairo list, contact me on #cairo or cc me on the Ubuntu bug. 3. Unless the bug can be reproduced on a LaserJet 4050, chances are I can't reproduce it as I don't have the same printer. So you will have to help me debug it. You can do this by: a) Find the smallest simplest PDF file that reproduces the problem. Find which page it fails on and provide me with the cairo generated PS that fails and the poppler PS that works for that page and the printer error message. b) Identify any patterns. Does it fail for every page in the PDF? Does it only fail on pages with images or certain fonts? c) Find other PDFs that fail the same way. Look for patterns. Are they from the same PDF creator? Are they using the same font? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have continued to experience problems printing to HP Laserjet P3005dn. However, the problems seem to disappear when I use a different PPD called "CUPS+Gutenprint v5.2.4" which is one of the 3 options listed in the list of PPDs in the add printer tool. The two others, the default and one labeled "hpljs" do not work. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I suppose, that it's not a bug of evince but a feature... Since version 2.27.4 in ev-print-operation.c the lines export->fc.format = file_format && g_ascii_strcasecmp (file_format, "pdf") == 0 ? EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS; changed to if (file_format) { export->fc.format = g_ascii_strcasecmp (file_format, "pdf") == 0 ? EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS; } else { export->fc.format = gtk_printer_accepts_pdf (printer) ? EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS; } so that evince > 2.27.3 sends pdf-file (if print system supports pdf-input) even if file_format is NULL what ever - I don't understand it completely... In the case of the problematic files evince sends pdf-files since version 2.27.4 and ps-files in earlier versions. This change causes the problem. But the bug probably lies not in evince?!? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
** Also affects: cups (Ubuntu Karmic) Importance: High Status: New ** Also affects: evince (Ubuntu Karmic) Importance: High Status: New ** Changed in: evince (Ubuntu Karmic) Status: New => Confirmed ** Changed in: cups (Ubuntu Karmic) Status: New => Confirmed -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
The problem is not the fact whether evince produces PostScript or PDF output when sending a print job to CUPS but the PDF which gets sent to CUPS. This is not necessarily produced by evince, but rather by some library like GTK or Cairo. So a real fix has to be done in the appropriate library. Another, but only partial fix would be to make evince simply passing through the input file if it is PDF. This does not cover the case of evince be used to display a non-PDF file (PostScript could also be passed through). Making evince outputting PostScript again is only a workaround for the time being until PDF generation gets fixed. In addition, this causes other problems which we solved by switching over to PDF output. If we do this step, it only should be done in the Ubuntu package, not upstream. Also any attempt to solve the problem by modifying the CUPS filters is only a workaround, as CUPS prints all PDF files from other sources than evince just fine. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
As workaround for bug 443026 a new evince package got uploaded which returns to sending PostScript and not PDF to CUPS when printing. Please try this version and tell whether it also solves the problem described here. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Pascal, thank you, good to know that the workaround for Karmic works. So I am closing this bug for Karmic. I hope for Lucid we will get a real fix. ** Changed in: evince (Ubuntu Karmic) Status: Confirmed => Fix Released ** Changed in: cups (Ubuntu Karmic) Milestone: ubuntu-9.10 => None -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
todays updates (2.28.0ubuntu4) doesnt seem to help the issue (was the fix reverted ?!?). *photon* and some of my pdfs still will fail to print with ps "error undefined command 0a" on my brother dcp-8065n - otoh okular will print them without issues. laymans question: doesnt this hint that indeed evince/gtk/gnome etc is faulty and neither gs nor cups ? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
@pascal: i dont think so, it seems that some printers will print an error page while others are just sitting quietly or give some error on their displays. but i cant understand that your problem is gone while mine (and others like https://bugs.launchpad.net/ubuntu/+source/cups/+bug/443026/comments/14 suggests) are still around. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
XAFSPhoton...pdf from comment 4 still does not work with my HP Laserjet 4100 (PPD in comment 15) and Postscript drivers. Same error as originally reported. ** Changed in: evince (Ubuntu Karmic) Status: Fix Released => Confirmed -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
It's a bug in evince, closing cups task. ** Changed in: cups (Ubuntu Karmic) Status: Confirmed => Invalid -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
In Karmic we got the workaround to produce PostScript instead of PDF from evince, which should mitigate the situation. ** Changed in: evince (Ubuntu Karmic) Status: Confirmed => Won't Fix ** Changed in: evince (Ubuntu Karmic) Milestone: ubuntu-9.10 => None ** Changed in: evince (Ubuntu) Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs) -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
What does this mean? It still does not work for me (as the bug reporter). Or is there something I'm missing? (i.e. I have to use a specific driver or other settings to make it work) -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have checked the output and both the PostScript directly generated by evince and the PostScript which is generated when converting evince's PDF to PostScript generates the offending embedded font code. This means that this bug is not covered by switching evince from outputting PDF to outputting PostScript. Wwe need a real fix of GTK's or Cairo's PDF AND PostScript output. A good workaround would be to make evince simply passing through the input files to the print queue if they are PDF or PostScript. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
It's claimed here that the bug is in evince, but I don't actually see the evidence. The "bad" PDFs produced by evince display render perfectly in evince, xpdf, and gs; the output of pstopdf on those files also renders perfectly in evince and gs. It's just the printer that is complaining. It seems to me that *if* the PDF/PS files evince is generating are legal, and just happen to trigger a printer bug, then it's really cups' job to work around that printer bug, not evince's to somehow intuit what sort of printer the file will eventually be sent to after being passed through some set of filters they have no control over. Of course, it maybe be that evince/xpdf/gs are in just lenient when displaying stuff, and evince is actually generating buggy PDF/PS, in which case it should be fixed. But to make that argument surely we need someone to actually look at the postscript spec and figure things out. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
@nathaniel: as i reported in #31 ocular will print them fine (on the same box ofc). so either a) ocular does some workaround for a cups-bug (which is what u suggest) b) something in the gnome chain is changing the output wrongly when printing the fact that evince will display them ok is IMHO no evidence that there is no bug while printing. i am no PS guru but is it sure that this is a printers bug as till in #11 suggests ? i would find it strange that my brother 8065 would have the same error as some hp's ... -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
That's great that Ocular works, but it's irrelevant. We know that there is something special about the file evince is generating -- probably something to do with font embedding -- that is triggering this bug. But that doesn't mean that evince is buggy. It might be that evince and ocular are both generating correct files, but those files are different, and something in the difference is running into a cups bug. Or maybe not, but it's important to figure out, because if so then the correct fix is to teach cups to handle these files, not to encode quirky rules about cups/printer bugs into all PDF implementations. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I understand this bug is fixed by a fix released for the bug #443026 with the release of a new evince package (version 2.28.0-0ubuntu3) -> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/443026/comments/13. Am I right? My evince's package is version 2.28.1-ubuntu1 and I still have this bug. What should I do? Thanks! -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have exactly the same problem here with an HP Color Laserjet 2605dn (Postscript PPD, see enclosed hp4.ppd file). When printing from evince as available in up-to-date karmic, it prints an error page : ERROR: undefined OFFENDING COMMAND: 0a STACK: false, --mark-- , I tried this workaround : use epdfview. Epdfview is nice, it prints without problem on the same printer, but I can't access all the printer options with epdfview (for example, I can't access the recto/verso printer option from epdfview). Of course, we can use xpdf, but there is no graphical selection of the printer in the interface, which is quite annoying for our users, because we have multiple printers. ** Attachment added: "hp4.ppd" http://launchpadlibrarian.net/34945134/hp4.ppd -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Not all pdf are unprintable. I attach a bugged pdf into this bug report. I remarked that most of the bug's subscribers are non-english. Can this bug be related to non-english character-set or something related to the locale used on the system/file? ** Attachment added: "bugged pdf" http://launchpadlibrarian.net/34957360/postfix-doc-2.3.pdf -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I also confirm that printing the pdf with Epdfview works. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Can someone please summarize the workaround/fix for this bug ? I read all the comments but maybe I missed the point. How can I print PDFs with evince on a Kyocera FS-1030D. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
The only workaround for the moment is to use another PDF reader than evince (xpdf, epdfview, ...). -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
** Summary changed: - Printing with HP Laserjet 4100 broken + Printing from evince (and perhaps other GTK apps) to PostScript printers is broken -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Same problem here, cannot print from evince to a Kyocera FS-1030D. ** Attachment added: "/etc/cups/ppd/FS-1030D.ppd" http://launchpadlibrarian.net/32864657/FS-1030D.ppd -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I think this needs to be higher priority. Businesses are the ones with PostScript printers, and I suspect they'll be upset to have print jobs randomly failing. In other news, I suspect that the error is related to image (bitmap) data. Scanned text and some articles (not all) fail. I've not sorted out which of the last vjnano articles last week failed to print, but I have a hunch that they're the ones that have bitmap figures. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
** Changed in: cups (Ubuntu) Milestone: None => ubuntu-9.10 ** Changed in: evince (Ubuntu) Milestone: None => ubuntu-9.10 ** Changed in: cups (Ubuntu) Importance: Undecided => High ** Changed in: evince (Ubuntu) Importance: Low => High -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I thought the problem had been solved for me, but the PDFs posted by GiuseppeVerde still trigger the bug. I attach my PPD. I do not understand the workaround described by Till Kamppeter in my original bug report ( https://bugs.edge.launchpad.net/ubuntu/+source/cups/+bug/439384/comments/2 ) ** Attachment added: "LaserJet-P3005.ppd" http://launchpadlibrarian.net/33235511/LaserJet-P3005.ppd -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Eduard Grebe, note that my comment does not describe a workaround, it only tells that on your printer you can turn on a mode so that the printer prints error messages. You can turn it on on the printer, to see whether you get the same messages as the original poster. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I can confirm this problem on my kyocera fs-c5100dn. I'm getting the same error. (offending command: 0a) As a workaround I downgraded evince to 2.26.1 (jaunty's evince version). ( what two minor versions can do... :) ) -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Hi, I have a similar issue with my Brother HL2070N (which is not a postscript printer I think). When printing from evince, it fails silently. When printing the same file.ps from gv, it works perfectly. So, I would say it is not a config problem, and probably not a cups bug. Note that the test page is correctly printed from system-config-printer. Pascal -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Thank you Adrian, I will backport that to karmic ** Package changed: evince (Ubuntu) => cairo (Ubuntu) ** Package changed: cairo (Ubuntu) => evince (Ubuntu) ** Package changed: evince (Ubuntu) => cairo (Ubuntu) ** Changed in: cairo (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: cairo (Ubuntu Karmic) Status: Won't Fix => Fix Committed ** Changed in: cairo (Ubuntu Karmic) Status: Fix Committed => Triaged -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Sebastien, if you apply/backport the patch, can you also switch back to PDF output, so that all problems for which we originally introduced outputting PDF are fixed again. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
One additional isuue: Before trying to switch back to PDF output, check whether the patch also fixes bug #443026. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I can confirm that the fix works here. I was able to print all PDFs so far with my HP LJ 4100 -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Janne Hyötylä do you mean Adrian Johnson's patch of comment #50? If so, let evince print into a PDF file ("Print to File" in the list of available printers) and print the resulting files with "lp " from a terminal window. If they print out correctly, can you then please try to print all PDF and PostScript files attached to bug #443026 the same way and see whether they come out correctly (with images/graphics) for you? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Yes I meant Adrian's patch. I put up a package with that patch into my PPA, so other people can test as well: https://launchpad.net/~janne-hyotyla/+archive/jhyotyla Printing to file and then with 'lp' fails with the original Ubuntu package but works with the one from the PPA (with PDFs from this bug report). Unfortunately I cannot reproduce bug #443026 even with the unpatched cairo (i.e. the PDF gets printed correctly with the graph etc. on my printer in any case). -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Janne Hyötylä, thank you for putting up this patch on your PPA. I will also ask the reporters of bug 443026 to test it with their printers. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
With Janne Hyötylä libraries, I can print the example XAFSPhoton_estimate.pdf document, but I can't print other PDFs, e.g., the attached paper I got from the ACM. ** Attachment added: "Witchel et al. - 2002 - Mondrian memory protection.pdf" http://launchpadlibrarian.net/35428847/Witchel%20et%20al.%20-%202002%20-%20Mondrian%20memory%20protection.pdf -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
** Changed in: cairo (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: cairo (Ubuntu) Status: Fix Released => Fix Committed -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have a hp color laserjet 2550L using the standard drivers and it's still not working. I updated ubuntu with the latest patches and I even restarted my computer. Still no GO. When I launch the print dialog the dialog hangs for a few seconds (greyed out) while fetching printer information. Then it comes back. When I hit Print the light on the printer flashes a couple of times but does nothing. A fix is really important for me cause we run our business completely on Ubuntu workstations and we can't print our PDF invoices. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Workaround for everyone who has still the problem of printing PDFs from evince, especially if the packages of comment #56 (https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/comments/56) do not help: Install the package "okular" and use this program for viewing and printing PDF files. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Also a workaround is to set up PostScript printers with a PCL driver (pxlcolor, pxlmono, hpijs), if for your printer such a driver is not listed, use the "Generic" printer entries: "PCL 6/PCL XL" and if this does not work "PCL 5c" for color printers and "PCL 5e" for monochrome printers. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Justin Mazzola Paluska, what does exactly happen if you print the file? Do you get an error message page? What does the page show? If you do not get an error message page, activate error message page printing via the front panel menus or the web interface (web interface needs printer to be connected via network). Then print again and post the message of the error message page here. Please tell us also if you can print the file with alternative programs like okular or Adobe Reader. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Justin Mazzola Paluska, what is your printer model? My HP printers print the document and Ghostscript displays it correctly, too. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
After this morning batch of patches (including various cups ones), I still have a Postcript crash too on my LaserJet 4 Si (using the recommended driver HP LaserJet 4 Plus v2013.111 Postscript). The printer diagnoses this: Error: Undefined OFFENDING COMMAND: 0a STACK: -mark- false -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Merijn, The current status is "Fix Commited" and, as explained on the wiki https://wiki.ubuntu.com/Bugs/Status, it means "the changes are pending and to be uploaded soon". It doesn't mean that there is an updated package available in the official Ubuntu repositories (which would correspond to "Fix Released" status). So you should continue to wait for the fix to be available on your Ubuntu Karmic via the official repositories. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Oops, sorry. I was so excited to see an evince and cups update just after that status change that I thought it meant this was in the repositories already. I'll just have to be patient and thanks for all the help! -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
The patch which fixes the issue has been out for more than a week now. What is blocking the arrival of an updated package in Karmic with the fix ? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
It is not related to a specific printer. Actually, evince cannot print on any of the printers. I tried the latest evince version 2.29 too but it behaves exactly the same. For this reason I switched back to the version that can be found in the repo (2.28) Actually it is may be related to the bug #200988 . Thanks:L -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
For some reasons I had the impression that this is related to the upgrade from 9.04. However I still don't know if it was but I got the solution as: rm $HOME/.gnome2/evince $HOME/.gnome2/accels/evince -Rf And after that evince can print again nicely. Lev -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
>> rm $HOME/.gnome2/evince $HOME/.gnome2/accels/evince -Rf Unfortunately that didn't work for me. Hopefully the fix will be released soon so I can stop working around with xpdf. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Thunderbird prints PDF attachments with Evince! Only in Firefox does not print, or I'm wrong? -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Here are my last tests : - recently-released evince Karmic package version 2.28.1-0ubuntu1.2 with standard libcairo2 karmic package version 1.8.8-2ubuntu1 -> bug still present with "OFFENDING COMMAND: 0a" postscript error. - recently-released evince Karmic package version 2.28.1-0ubuntu1.2 with libcairo from Janne Hyötylä's PPA (cf comment #56) version 1.8.8-2ubuntu1+lp419143 which includes Adrian Johnson's patch -> works like a charm, no bug ! So, let's go and update Karmic's libcairo with Adrian Johnson's patch ! -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
And, by the way, the solution proposed in comment #74 (rm $HOME/.gnome2/evince $HOME/.gnome2/accels/evince -Rf) doesn't work for me either, I still have the postscript error. So the only working solution is Adrian Johnson's patch. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Is there a pure software test case for this fix? I'm not near a printer nor do I know whether my printer is affected, so I can't easily test the fix. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Loic: The problems appears to be that cairo adds a newline character (0x0A) at the end of any binary type 1 font definition in the PDF. This is the thing that the patch fixes, so you can check for that. Since I'm not really familiar with the PDF file format, and the font definitions/declarations seem to be somehow encoded, I did the following: * Open bug triggering PDF in evince (e.g. XAFSPhoton.. from this bug report) * Print to file in PostScript format (this is to find out the font definitions) * Print to file in PDF format (this triggers the bug) * Open Postscript file and look for "/FontType 1 def", this starts the font definition. * Go to the end of the hex output of this font (just before the lines with zeroes at least in my PDFs) and copy/note the last 10 characters (i.e. 5 8bit hex numbers) or so (this is so you can find the font def in the PDF). * Open the printed PDF file in a hex editor and search for the noted hex sequence. * This should be just before the string "endstream" in the PDF. * If immediately after the noted hex sequence (i.e. the next hex number) is "0A", this is the bug. * If it is any other value, the bug is fixed (basically the 0A is inserted additionally in the bug case, so the font definition is also 1 character longer). I hope this helps and sorry if it's not suitable as a test case... as mentioned I'm not really an expert in PDF/PS. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
well the patch doesn't seem to solve all the problems, I still have some pdf files that can't be printed -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I as having this problem with an HP P4515x. Switching to the PCL driver as suggested in #64 works for me. I was previously using the "HP LaserJet P4010 Series Postscript" driver. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have this same problem with printing PDF on my Xerox Phaser 3117 (SpliX v 2.0.0). -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
I have exactly this same problem. The printer is Samsung ML-2855 Series, the driver is ML-2855ps.ppd, downloaded from internet http://www.samsung.com/uk/support/local/supportPrdDetail.do?prd_mdl_name=ML-2855ND# . ** Attachment added: "ppd file" http://launchpadlibrarian.net/35988185/ML-2855ps.ppd -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Well, it worked for me ! It's probably better to have such a temporary workaround than a non functional evince. Thanks for your work ! Pascal 2009/10/15 Till Kamppeter > As workaround for bug 443026 a new evince package got uploaded which > returns to sending PostScript and not PDF to CUPS when printing. Please > try this version and tell whether it also solves the problem described > here. > > -- > Printing from evince (and perhaps other GTK apps) to PostScript printers is > broken > https://bugs.launchpad.net/bugs/419143 > You received this bug notification because you are a direct subscriber > of the bug. > -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Maybe the bug you encountered is different from mine, because in my case evince failed silently to print, and now it works again. I never had an error message (but the printer made its caracteristic "heating noise" each time, as it probably received something, just didn't know how to deal with). Pascal 2009/10/16 Thomas Jagoditsch > todays updates (2.28.0ubuntu4) doesnt seem to help the issue (was the fix > reverted ?!?). > *photon* and some of my pdfs still will fail to print with ps "error > undefined command 0a" on my brother dcp-8065n - otoh okular will print them > without issues. > laymans question: doesnt this hint that indeed evince/gtk/gnome etc is > faulty and neither gs nor cups ? > > -- > Printing from evince (and perhaps other GTK apps) to PostScript printers is > broken > https://bugs.launchpad.net/bugs/419143 > You received this bug notification because you are a direct subscriber > of the bug. > -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Yes, you must be right, I did actually have a blinking led on the printer (but as the printer isn't in the same room I had to run to see it). Pascal 2009/10/16 Thomas Jagoditsch > @pascal: > i dont think so, it seems that some printers will print an error page while > others are just sitting quietly or give some error on their displays. > but i cant understand that your problem is gone while mine (and others like > https://bugs.launchpad.net/ubuntu/+source/cups/+bug/443026/comments/14suggests) > are still around. > > -- > Printing from evince (and perhaps other GTK apps) to PostScript printers is > broken > https://bugs.launchpad.net/bugs/419143 > You received this bug notification because you are a direct subscriber > of the bug. > -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 09 Nov 2009 18:07:46 +0100, Justin Mazzola Paluska wrote: > With Janne Hyötylä libraries, I can print the example > XAFSPhoton_estimate.pdf document, but I can't print other PDFs, e.g., > the attached paper I got from the ACM. Printing your PDF works for me. It might be that you are experiencing Bug #443026 there. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkr4ZSsACgkQ9dzZ3jarGGBxnACeLEcV1nQgUTDo6XMj5iuYQhD2 lEUAn0NCQhchrydsLGX2wJsKp+IXerJh =pmHh -END PGP SIGNATURE- -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Janne Hyötylä wrote: > Printing your PDF works for me. It might be that you are experiencing Bug > #443026 there I don't think so -- my printer (a Brother HL-4070CDW) spits out a single page saying undefined command "Q" (rather than the "0a" that others have been reporting). *sigh* I latched onto this bug because evince was causing my printer to *crash* (as in the printer reboots itself), so having it print pages with undefined command "tracebacks" is a start in the correct direction, even if I still can't print. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
On 11/11/2009 03:53 AM, Till Kamppeter wrote: > Justin Mazzola Paluska, what does exactly happen if you print the file? > Do you get an error message page? What does the page show? If you do not > get an error message page, activate error message page printing via the > front panel menus or the web interface (web interface needs printer to > be connected via network). Then print again and post the message of the > error message page here. > When I the ACM paper I uploaded, I get an error page from my printer saying ERROR NAME: undefined COMMAND: Q OPERAND STACK; Other papers crash the printer. Without printing anything, the printer reboots. I can print the same files using xpdf and lpr with no problems. However, I'd prefer to use evince, given the interface for changing options in lpr is rather baroque. I'm printing over the network. My print job gets routed through a network cups server (running Debian lenny), which then communicates with the printer over IPP. It's a pretty standard configuration that worked flawlessly in 8.10 and 9.04. --Justin -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
OK, I just needed to print another paper. This one came from http://www.iptps.org/papers-2006/Ford-UIA.pdf. The md5sum of the PDF is: 505ec9dfeb58e97fa22975eb4876181d (just to make sure we're talking about the exact same PDF). Attached are the three pages that came out of my printer when I printed all 6 pages using evince. You'll notice that page 1 is OK, page 2 is incompletely rendered, and page 3 is the error message from my printer. The rest of the pages are not printed. xpdf + lpr printed the paper just fine. ** Attachment added: "uia-scan1.png" http://launchpadlibrarian.net/35534533/uia-scan1.png ** Attachment added: "uia-scan2.png" http://launchpadlibrarian.net/35534534/uia-scan2.png ** Attachment added: "uia-scan3.png" http://launchpadlibrarian.net/35534535/uia-scan3.png -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
As I said in post #60, my printer is a Brother HL-4070CDW. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
On Tue, 2009-11-17 at 17:02 +, Paolo wrote: > Thunderbird prints PDF attachments with Evince! Only in Firefox does > not > print, or I'm wrong? > I have a PDF file that I open with evince, that will not print. I believe that some PDF files do print OK. It depends on the stream of instructions that evince sends to the printer. So far as I know, it does not matter which application fed the PDF file to evince. -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Hi, I tried to use evince 2.29 from http://live.gnome.org/Evince/Downloads however it didn't solve my problem. I suggest you to take chance on this. Or, okular (kpdf). printing is not that advanced (yet) but okular is very nice either. L On Tue, Nov 17, 2009 at 4:52 PM, Merijn Schering wrote: >>> rm $HOME/.gnome2/evince $HOME/.gnome2/accels/evince -Rf > > Unfortunately that didn't work for me. Hopefully the fix will be > released soon so I can stop working around with xpdf. > > -- > Printing from evince (and perhaps other GTK apps) to PostScript printers is > broken > https://bugs.launchpad.net/bugs/419143 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “cairo” package in Ubuntu: Fix Committed > Status in “cups” package in Ubuntu: Invalid > Status in “cairo” source package in Karmic: Triaged > Status in “cups” source package in Karmic: Invalid > > Bug description: > Binary package hint: cups > > When trying to print on an HP Laserjet 4100 (through network, no possibility > to connect to USB) in karmic, A notification tells me that printing > succeeded, but regarding of the document to be printed, only one page gets > printed with the following error message (6 lines): > > > ERROR: undefined > OFFENDING COMMAND: 0a > > STACK: > > -mark- > > > Other printers on the same network (e.g. OKI C7350) work flawlessly, also the > same printer worked on intrepid and jaunty. > > WORKAROUND: > Print from okular (KDE PDF viewer) or any other (non-gtk?) software. > > ProblemType: Bug > Architecture: i386 > CupsErrorLog: > E [26/Aug/2009:11:46:23 +0200] CUPS-Add-Modify-Printer: Unauthorized > E [26/Aug/2009:11:59:45 +0200] CUPS-Add-Modify-Printer: Unauthorized > Date: Wed Aug 26 12:02:29 2009 > DistroRelease: Ubuntu 9.10 > Lpstat: > device for bioz3-hp4100: socket://131.152.19.90:9100 > device for bioz3-okic2: socket://131.152.19.56:9100 > MachineType: Dell Inc. Latitude D630 > Package: cups 1.3.11-2ubuntu1 > Papersize: letter > PccardctlIdent: > Socket 0: > no product info available > PccardctlStatus: > Socket 0: > no card > PpdFiles: > bioz3-okic2: Oki C5900 Foomatic/Postscript > bioz3-hp4100: HP LaserJet 4100 Series v.3010.107 Postscript (recommended) > ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-6-generic > root=UUID=a4e3ce99-2ce1-4bfa-b256-0135ea2c2244 ro quiet splash > ProcEnviron: > PATH=(custom, user) > LANG=en_US.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.31-6.26-generic > SourcePackage: cups > Uname: Linux 2.6.31-6-generic i686 > dmi.bios.date: 07/23/2007 > dmi.bios.vendor: Dell Inc. > dmi.bios.version: A03 > dmi.board.name: 0KU184 > dmi.board.vendor: Dell Inc. > dmi.chassis.type: 8 > dmi.chassis.vendor: Dell Inc. > dmi.modalias: > dmi:bvnDellInc.:bvrA03:bd07/23/2007:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr: > dmi.product.name: Latitude D630 > dmi.sys.vendor: Dell Inc. > -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
What else could you do? Install and see. Lev On Thu, Nov 19, 2009 at 12:07 AM, Loïc Minier wrote: > Is there a pure software test case for this fix? I'm not near a printer > nor do I know whether my printer is affected, so I can't easily test the > fix. > > -- > Printing from evince (and perhaps other GTK apps) to PostScript printers is > broken > https://bugs.launchpad.net/bugs/419143 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “cairo” package in Ubuntu: Fix Committed > Status in “cups” package in Ubuntu: Invalid > Status in “cairo” source package in Karmic: Triaged > Status in “cups” source package in Karmic: Invalid > > Bug description: > Binary package hint: cups > > When trying to print on an HP Laserjet 4100 (through network, no possibility > to connect to USB) in karmic, A notification tells me that printing > succeeded, but regarding of the document to be printed, only one page gets > printed with the following error message (6 lines): > > > ERROR: undefined > OFFENDING COMMAND: 0a > > STACK: > > -mark- > > > Other printers on the same network (e.g. OKI C7350) work flawlessly, also the > same printer worked on intrepid and jaunty. > > WORKAROUND: > Print from okular (KDE PDF viewer) or any other (non-gtk?) software. > > ProblemType: Bug > Architecture: i386 > CupsErrorLog: > E [26/Aug/2009:11:46:23 +0200] CUPS-Add-Modify-Printer: Unauthorized > E [26/Aug/2009:11:59:45 +0200] CUPS-Add-Modify-Printer: Unauthorized > Date: Wed Aug 26 12:02:29 2009 > DistroRelease: Ubuntu 9.10 > Lpstat: > device for bioz3-hp4100: socket://131.152.19.90:9100 > device for bioz3-okic2: socket://131.152.19.56:9100 > MachineType: Dell Inc. Latitude D630 > Package: cups 1.3.11-2ubuntu1 > Papersize: letter > PccardctlIdent: > Socket 0: > no product info available > PccardctlStatus: > Socket 0: > no card > PpdFiles: > bioz3-okic2: Oki C5900 Foomatic/Postscript > bioz3-hp4100: HP LaserJet 4100 Series v.3010.107 Postscript (recommended) > ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-6-generic > root=UUID=a4e3ce99-2ce1-4bfa-b256-0135ea2c2244 ro quiet splash > ProcEnviron: > PATH=(custom, user) > LANG=en_US.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.31-6.26-generic > SourcePackage: cups > Uname: Linux 2.6.31-6-generic i686 > dmi.bios.date: 07/23/2007 > dmi.bios.vendor: Dell Inc. > dmi.bios.version: A03 > dmi.board.name: 0KU184 > dmi.board.vendor: Dell Inc. > dmi.chassis.type: 8 > dmi.chassis.vendor: Dell Inc. > dmi.modalias: > dmi:bvnDellInc.:bvrA03:bd07/23/2007:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr: > dmi.product.name: Latitude D630 > dmi.sys.vendor: Dell Inc. > -- Printing from evince (and perhaps other GTK apps) to PostScript printers is broken https://bugs.launchpad.net/bugs/419143 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs