[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken ("0a" bytes inserted into PostScript output)
Official support for Ubuntu 11.04 "Natty Narwhal" has ended. Can we close this bug? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken ("0a" bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 ("0a" bytes inserted into PostScript output)
Yes, let us close this ... ** Changed in: poppler (Ubuntu) Status: Triaged => Invalid ** Changed in: cairo (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken ("0a" bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
** Attachment removed: REC10889-2.pdf svenmeier https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+attachment/2594794/+files/REC10889-2.pdf ** Attachment removed: error_log svenmeier https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+attachment/2594796/+files/error_log ** Attachment removed: printout svenmeier https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+attachment/2594795/+files/printout -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
I have reported Sven Meier's bug also on Launchpad as bug 890270 now, for an Oneiric SRU. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
Hi Till, thanks for your analysis and forwarding the bug :). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
** Attachment added: PDF causing this issue https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/2594793/+files/REC10889-2.pdf -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
PDF causing the issure. ** Attachment added: REC10889-2.pdf https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/2594794/+files/REC10889-2.pdf ** Attachment removed: PDF causing this issue https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/2594793/+files/REC10889-2.pdf -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
printout as requested ** Attachment added: printout https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/2594795/+files/printout -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
Error log as requested. ** Attachment added: error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/2594796/+files/error_log -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
svenmeier, the original bug reported here was that Poppler's pdftops is generating broken PostScript in your case foomatic-rip calls Ghostscript to turn PDF into PostScript. So I tried to isolate the problem with pdf2ps printout where pdf2ps is a simple wrapper script which comes with Ghostscript to turn PDF into PostScript and printout is your printout file. The resulting PostScript is broken, easy to see with gs printout.ps This is a bug in Ghostscript upstream which I have reported now as http://bugs.ghostscript.com/show_bug.cgi?id=692679 Please subscribe to that bug report and supply additional information if the Ghostscript develkopers ask for it. ** Bug watch added: Ghostscript (AFPL) Bugzilla #692679 http://bugs.ghostscript.com/show_bug.cgi?id=692679 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
svenmeier, can you post the PDF file with which you experience this problem? Can you also follow the instructions in the sections CUPS error_log and Capturing print job data of https://wiki.ubuntu.com/DebuggingPrintingProblems? Thanks. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
I'm experiencing this problem on Ubuntu 11.10 oneiric with a PDF file printed from evince: ERROR: undefined OFFENDING COMMAND: 0 STACK: -mark- -mark- -mark- -mark- The same file printed with Okular works fine. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
** Changed in: cairo (Ubuntu Karmic) Status: Triaged = Won't Fix -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
AFAIK Firefox prints via Cairo, so no extra task needed. ** Changed in: firefox (Ubuntu) Status: New = Invalid ** Changed in: firefox (Ubuntu Karmic) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
In Oneiric we will switch to Ghostscript for the pdftops filter, so the 0a byte contamnination should stop there. Everyone who has still problem on Natty, please give exact instructions to reproduce the problem. Especially follow the instructiopns in the section Capturing print job data in https://wiki.ubuntu.com/DebuggingPrintingProblems. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
I'm also seeing this in Ubuntu Natty (11.04) when printing _some_ pages from Firefox to a Brother HL-5250DN. Other pages work OK. This may or may not be related to a long-standing problem with this printer whereby the 2nd and subsequent jobs sent to the printer without a printer power- cycle or printer reset will result in garbled text. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
** Also affects: firefox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
I'm having a similiar bug with a Brother HL 5270DN, regardless whether configured as USB or network printer. Printing PDFs with GTK applications, or printing from firefox, both sometimes result in one page being printed with the following content: --8--8--8-- ERROR NAME; undefined COMMAND; Q OPERAND STACK; --8--8--8-- This bug happens both on up-to-date Debian unstable and Ubuntu Natty. I already discover this bug with Debian for years, and unfortunately I now discovered it on Ubuntu Natty as well. ** Changed in: poppler (Ubuntu) Status: Triaged = Confirmed ** Changed in: cups (Ubuntu) Status: Invalid = Confirmed ** Changed in: cairo (Ubuntu) Status: Triaged = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
Forgot to mention, that same PDF documents that print this error with evince, print fine with okular. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
Reseting triage states ** Changed in: cairo (Ubuntu) Status: Confirmed = Triaged ** Changed in: cups (Ubuntu) Status: Confirmed = Invalid ** Changed in: poppler (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/419143/+subscriptions -- 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 (0a bytes inserted into PostScript output)
0a bug for pdf with embedded .jpg image present in 9.10 (my computer) NOT present in 10.04 (coworkers computer) good job guys! (And I need a new computer) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
LEGOManiac, also note that this bug is only about spurious insertions of 0a into the PostScript output. You can most easily find out about that if you activate error page printing in your printer, but this problem should always occur and not disappear after some hours as you have observed. So your problem is not the one described here. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
Four days ago I unsubscribed to this list as I hadn't had this problem in months and assumed it was fixed. Today, I tried printing a calendar and discovered the bug still exists. I'm running Ubuntu 10.10, fully patched as of this afternoon (Dec. 11, 2010). The problem surfaces when I try to this PDF from Document Viewer. I've had to resort to using Okular. When I print it from Document viewer, the printer light flashes to indicate that it is receiving data, but nothing ever prints. Printing from Okular works fine. For what it's worth, the calendar is formatted for 11x17 paper but I was trying to print it to legal size pages. I'm not sure if it's the printer or the computer that does the appropriate scaling, in case that has anything to do with it. ** Attachment added: This is a 12 month calendar formated for 11 x 17 paper https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143/+attachment/1763061/+files/calendar.pdf -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
calendar.pdf works for me on all the printers I have. - What sort of printer do you have? - Do you have problems printing other PDF files? - Have you tried any of the steps in comment 95. Attaching the PS file that does not print with lpr -o raw would be helpful - Is your printer configured to print PS errors? Are you able to print PDFs created with gedit that use the same fonts as calendar.pdf? ie open gedit, enter some text, print to PDF ensuring that in the Text Editor tab of the print dialog the fonts used are NimbusSanL-Regular and NimbusSanL-Bold. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
I'm using a Laserjet 2605dn. The problem was happening consistently (6 attempts) and continued after a reboot of the printer. I was also using Document Viewer 2.32.0 to view and print the calendar. When Okular worked, I chalked it up to a problem with Document Viewer or some component thereof. It's now about 5 hours later and I just tested it again but this time I *can* print it from Document Viewer. I hate intermittent problems. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
If it is intermittent it is not this bug. I had intermittent problems with printing to my LaserJet 4050 after upgrading to 10.10. It turned out to be bug 229981 which I fixed by changing the connection type to AppSocket/HP JetDirect. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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 (0a bytes inserted into PostScript output)
** Summary changed: - 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 (0a bytes inserted into PostScript output) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken (0a bytes inserted into PostScript output) -- 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
If there are still cases of cairo causing 0a errors I will need to see the PDF file to fix. Looking back over the comments there were a few comments saying they still had the 0a error after the update but none of them supplied the PDF file that reproduces the problem. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/419143 Title: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken -- 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
Note that this bug is only about the spurious 0a in Cairo-generated PDF. It is only still open because there are still 0a cases in Cairo. See comment #109. If you have other problems with Cairo-generated PDF, please continue in bug 680628. Especially answer the questions of my previous comment there. -- 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
Everyone who has still problems, do the following: 1. Attach the file which does not print. 2. Follow the instructions of the sections CUPS error_log and Capturing print job data on https://wiki.ubuntu.com/DebuggingPrintingProblems 3. Convert the captured print data to PostScript with the pdftops command. 4. Tell us the size of the original file, the captured print data, and the resulting PostScript file. 5. Attach all files. Do not hesitate to attach big files. Attach the files one by one, do not package them together and do not compress them. Only if the resulting PostScript file is so big that it takes you hours or days to upload, do not upload it. 6. Naturally tell us which printer and driver you are using. -- 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 would like to confirm the above mentioned problem in 10.10 issue. I have x64 version installed and I use Samsung ML 2010 printer. Regards MH -- 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 don't see this issue anymore with Ubuntu 10.10. -- 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
Having 1.8.10-2ubuntu1 installed, this bug still affects me. I had no problem printing with Ubuntu 9.04, but 10.04 refuses to print some PDFs from evince. The hp LaserJet 2200 tells getting data all the time, but does not start printing - even for a 28 kb 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
smarf, can you attach the files which do not print? Can you print these files using Maverick (try a live CD if you do not want to update). -- 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
If this get's fixed in 10.10, can the fix be back-ported to 10.04 LTS? I am in charge of a business deployment where we are experiencing this bug but we are sticking with the LTS release for obvious reasons. -- 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
Although it's not this bug (the solution to the remainder of this bug lies in the info in comment #109), the file size blowing up issue should be fixed with Ubuntu 10.10 Maverick Meerkat, which contains libcairo2 1.10.0-1ubuntu2. Karl, Eero and steba, can you test? -- 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
Derrik, bug 570027 is fixed now. -- 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
Thomy23, can you take the application with which you created the confidential documents and create non-confidential sample documents? Or can you modify the confidential documents to remove the confidential data? -- 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 the same problem; my printer prints out a page when trying to print an affected PDF which reads: PCL XL Error Subsystem: KERNEL Error: MissingData Operator: ReadImage Position: 15 This is with a Brother HL-2170W laser printer, with the PPD generated by foomatic. I'm also running lucid, and can reproduce the issue on both x86 and x86_64 systems (netbook and workstation, respectively). -- 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, as others mentioned, the same documents print perfectly via Adobe Acrobat 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
Derrik, your problem is bug 570027. I have already prepared the fix (in foomatic-db). I will upload it as soon as the beta freeze is over. For the time being set up an additional print queue using the Generic PCL- 5e printer as make and model and hpijs-pcl5e as the 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
Hi Unfortunately i can't do this because the documents contain confidential information. Can i help you in some other way to solve the problem? -- 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
Hello I just want to confirm this bug in the latest release of lucid (x86), with: cups1.4.3-1ubuntu1.2 libpoppler-glib4 0.12.4-0ubuntu5 libpoppler5 0.12.4-0ubuntu5 poppler-utils0.12.4-0ubuntu5 ievince2.30.3-0ubuntu1.1 using acroread as an alternative (although its non-free) solves the problem. Greets Thomas -- 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
Thomy23, can you post files which did not print out of evince 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
Just tried to print a 100 page PDF to HP LaserJet 4100DTN network printer accessible via CUPS. Data LED was blinking for some minutes, then the job just disappeared. I wouldn't consider this issue solved... -- 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
Needs Cairo and Poppler to get updated to the newest versions. See comment #119. ** Also affects: poppler (Ubuntu) Importance: Undecided Status: New ** Changed in: poppler (Ubuntu Karmic) Status: New = Invalid ** Changed in: poppler (Ubuntu) Status: New = 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
For me the bug disappeared after upgrading to 10.04. So I can print with evince again and do not have to use okular for printing. -- 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
.jpgs in the pdf still seem to cause a problem. png files and vector graphics ok. Is someone working on this? If this goes to lucid, expect to see angry mobs with pitch forks... -- 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
unassigning myself since I'm not working on this issue ** Changed in: cairo (Ubuntu Karmic) Assignee: Sebastien Bacher (seb128) = (unassigned) -- 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 Released = Triaged ** Changed in: cairo (Ubuntu Karmic) Status: Fix Released = 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
Is it not possible to extract only the change for the embedded image handling in backport only that as a patch for the current Cairo? -- 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 reproduce the failure to print on my printer. The jpeg images are being uncompressed then recompressed with Flate in the cairo PDF output. Cairo 1.9.6 and Poppler git master contain a fix that embeds the original jpeg in the output so the file size will not blow up. With cairo and poppler git master I get: original file: 2,256,496 bytes evince printed to PDF: 2,287,229 bytes then converted to PS with pdftops: 3,353,194 bytes This PS file prints on my printer. -- 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 this fix be applied to Lucid as a patch? This would solve a lot of printing 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
Probably not. It requires the cairo 1.9.6 development snapshot which still has a number of regressions that need to be fixed before 1.10.0 can be released. Patching cairo 1.8.10 is not feasible due to the large number of changes required. -- 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
this pdf prints well using okular but printing from evince fails. ubuntu 9.10, fully updated, printer: HP 5100 DTN ** Attachment added: 10.1.1.65.8661-1.pdf http://launchpadlibrarian.net/40146911/10.1.1.65.8661-1.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
Karl Frisk, problem are file conversions which blow up your file more and more so that the PostScript sent to the printer is to big for the printer's memory. I have a LaserJet P3005 with extended memory and this printer prints the file but needs several minutes per page, probably due to the huge Postscript being sent. One can easily reproduce the problem without using CUPS: First, your file: t...@till:~/ghostscript/gpl/testfiles$ ll 10.1.1.65.8661-1.pdf -rw-r--r-- 1 till till 2256496 2010-03-04 12:49 10.1.1.65.8661-1.pdf t...@till:~/ghostscript/gpl/testfiles$ Then I print into a PDF file with evince: t...@till:~/ghostscript/gpl/testfiles$ ll x.pdf -rw-r--r-- 1 till till 25530177 2010-03-04 13:15 x.pdf t...@till:~/ghostscript/gpl/testfiles$ This is 10 times bigger than the original. Now I convert this to PostScrip, using Poppler's pdftops utility (CUPS uses it, too): t...@till:~/ghostscript/gpl/testfiles$ ll x.ps -rw-r--r-- 1 till till 103784255 2010-03-04 13:15 x.ps t...@till:~/ghostscript/gpl/testfiles$ This is another 4 times bigger. 100 MB are a lot for the memory PostScript printers usually have. What has to be done here is the following: evince should not re-render PDF (and also PostScript) files when printing, but simply send them to CUPS. If the user requests, N-up, reverse order, ... evince should send appropriate IPP attributes alog with the job instead of doing these actions by itself. Sending the PDF file directly to CUPS (lpr 10.1.1.65.8661-1.pdf) or only doing pdftops 10.1.1.65.8661-1.pdf leads to a much faster printout for me. -- 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
Karl Frisk, as your problem is not the one originally reported here, please file a bug on the evince package. -- 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
@Karl - as Till said in comment 109, It seems that the fix in Cairo solves the 0a problem of the original poster (embedded fonts), but there are also other 0a problems which are not covered (other embedded binary data, like pictures or so). So we can approve the Cairo fix to at least help the users who cannot print files with embedded fonts, but we need to get Cairo completely fixed to cover all 0a cases. And all the info is not here, if you have a PDF that will not print even with the new patch, you should attach it to this bug report, or preferably to a new bug report. -- 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
why open a new bug, when all info is here? to repeat myself, the new cairo package DOES NOT fix THIS 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 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'd agree with Till, I was previously experiencing the ERROR NAME; undefined COMMAND; 0a OPERAND STACK; --marktype-- --booleantype-- problem, and the new cairo package fixes that for me. -- 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 still have this bug when printing certain PDFs in Evince. I try multiple printers as well, but nothing prints. Using lpr from command line prints the PDF 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 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
Thanks for testing. So it seems that this update works and improves things, but isn't perfect yet. That's fine for moving to -updates then. Can you please file a new bug if printing is still broken with the updated cairo? ** Tags added: verification-done ** Tags removed: verification-needed -- 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
This bug was fixed in the package cairo - 1.8.8-2ubuntu1.1 --- cairo (1.8.8-2ubuntu1.1) karmic-proposed; urgency=low * debian/patches/90_git_change_fix_binary_mode_new_lines_bug.dpatch: - git change to fix a pdf printing issue, thank Adrian Johnson (lp: #419143) -- Sebastien Bacher seb...@ubuntu.com Wed, 06 Jan 2010 10:59:01 +0100 ** Changed in: cairo (Ubuntu Karmic) Status: Fix Committed = Fix Released -- 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 seems that the fix in Cairo solves the 0a problem of the original poster (embedded fonts), but there are also other 0a problems which are not covered (other embedded binary data, like pictures or so). So we can approve the Cairo fix to at least help the users who cannot print files with embedded fonts, but we need to get Cairo completely fixed to cover all 0a cases. -- 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 fixed for me with the proposed cairo package. -- 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
Fix doesn't work for me either (on 3 different machines) Jobs vanish in nirwana. Only single pages work (sometimes) -- 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
Accepted cairo into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- 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
Evince seems to have trouble with .png and .jpg files in the pdf. I installed the fixes in Janne's PPA. Did not fix problems with evince. Printing works using both paths: - pdftops, lpr -o raw - evince save as ps, lpr -o raw -- 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 fully fixed for me either, after all. Printing a PDF from the document viewer to an HP LJ4 Plus, I get a failure on the first page: ERROR: invalidfont OFFENDING COMMAND: definefont STACK /Font -dictionary- /LiberationSerif_00 -- 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
This bug was fixed in the package cairo - 1.8.8-2ubuntu2 --- cairo (1.8.8-2ubuntu2) lucid; urgency=low * debian/patches/90_git_change_fix_binary_mode_new_lines_bug.dpatch: - git change to fix a pdf printing issue, thank Adrian Johnson (lp: #419143) -- Sebastien Bacher seb...@ubuntu.com Wed, 06 Jan 2010 10:59:01 +0100 ** Changed in: cairo (Ubuntu) Status: Fix Committed = Fix Released -- 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
** Attachment added: debdiff for the karmic update http://launchpadlibrarian.net/37478569/cairo.debdiff ** Changed in: cairo (Ubuntu Karmic) Status: Triaged = Fix Committed ** Changed in: cairo (Ubuntu Karmic) Assignee: (unassigned) = Sebastien Bacher (seb128) -- 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 config.sub and config.guess changes are coming from lucid but should not be an issue there -- 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, Your workaround 2 (packages) worked just fine for me too. I was experiencing the problem on both an HP 4250 and an HP LJ4 Plus rather than a 4100, btw. Thanks alot! -- 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 fix packages on Janne's PPA worked for me too. Thanks. (I have a Brother HL5240DN printer.) Incidentally, I noticed that the quality of the output for my PDF wasn't that good when printed from evince, with respect to the smallish fonts. (Looks like a resolution issue or quality setting because some vertical lines in the fonts are twice as wide as the same letter elsewhere.) So I tried printing it from okular and it came out much better (and darker too, which may indicate a quality setting). This might be something to do with translating between PDF and PS or something, or may not be. Dunno. Anyway thought it worth mentioning in case anyone else thinks their printout quality isn't that great. -- 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 anyone update me on when this fix is going to be released? It's been a while and I still have to use xpdf to print my incomming PDF invoices. It works but evince is much nicer then xpdf and I would like to use it again if it could 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
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Merijn, you can use the packages from https://launchpad.net/~janne-hyotyla/+archive/jhyotyla for the time being. The fix is integrated there. I added this info to the bug description so that it doesn't get lost in the comments. ** Description changed: 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: + WORKAROUND 1: Print from okular (KDE PDF viewer) or any other (non-gtk?) software. + WORKAROUND 2: + Use the fixed cairo packages from this PPA: + https://launchpad.net/~janne-hyotyla/+archive/jhyotyla + + + === 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
[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken
Thanks! those packages work for me. -- 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
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
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
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
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
[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 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
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 l...@dooz.org 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
[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
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
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
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 mscher...@intermesh.nl 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