[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2018-05-22 Thread Bug Watch Updater
** Changed in: evince Status: New => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/258421 Title: GTK apps should send PDF to CUPS when printing To manage notifications about this bug

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2011-01-10 Thread Bug Watch Updater
** Changed in: gtk Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/258421 Title: GTK apps should send PDF to CUPS when printing -- ubuntu-bugs mailing list ubuntu-

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2010-09-16 Thread Bug Watch Updater
** Changed in: gtk Importance: Unknown => Wishlist -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2010-09-15 Thread Bug Watch Updater
** Changed in: evince Status: Fix Released => New ** Changed in: evince Importance: Unknown => Wishlist -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2010-02-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gtk+2.0 -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-07-16 Thread Sebastien Bacher
the issue is fixed in karmic ** Changed in: evince (Ubuntu) Status: Triaged => Fix Released -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-07-16 Thread Bug Watch Updater
** Changed in: evince Status: New => Fix Released -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@li

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-23 Thread Sebastien Bacher
Thank you for your work there, could you add your updated patch to the upstream bug for review? -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Till Kamppeter
Johan, thank you very much for your patch. It works perfectly. "Print to file" gives the selected file format and printing to a CUPS queue sends PDF. The output fioles are also small and do not have text converted to bitmaps. All is perfect now. With this patch applied there should be no complaint

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Johan Brannlund
Adding a final, functionally equivalent but slightly cleaned-up version of the patch. As for punting the page management to CUPS, code just landed in evince that does the page management with gtkprint: http://bugzilla.gnome.org/show_bug.cgi?id=557112 So presumably gtk is now the proper place for

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Till Kamppeter
CUPS page management is completely independent of the printer driver. It happens in the pdftopdf filter (in Ubuntu and Debian unstable) or in the pstops filter (all other Linux distros). Having the page management completely be donme by evince is also no problem, but it must be really completely d

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Bartek
I think the argument against doing what you suggest is that some printer drivers mess up the page management (is this even true? I don't know how cups operates and which part does the pagination.) and the evince guys wanted to produce a write once run everywhere solution. Using gtk-print-operation

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Till Kamppeter
Another suggestion is the following (I do not know whether this is perhaps already implemented): CUPS has sophisticated page management methods: N-up, selected pages, scale to fit, even/odd pages, ... These work very well if the page management is completely left to CUPS and not a part already don

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-20 Thread Bartek
Hi Till, I'm only familiar with the pagination parts of ev-print- operation (the re-rendering bit) and not with the initialisation steps so I might be off: As far as I understand gtk-print-operation is used for real printer targets in evince > 2.24 so evince does not do any re- rendering. (for inst

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Till Kamppeter
Thank you for the patches. There is one possibility to make it even better: It should be checked what the input file format is and if it is the same as the print output format selected by your patch (PDF or PostScript), the input file should be sent directly to CUPS instead of evince re-rendering

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Johan Brannlund
Yes, I tested that and it does work. But the patch with gtk_printer_accepts_pdf had a bug - apparently that function always returns true for the print to file "printer", even if the user selects postscript. Updated patch attached. ** Attachment added: "Newer evince printing patch" http://launc

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Till Kamppeter
Did you test this patch whether it actually works? Does gtk_printer_accepts_pdf(printer) results in True if printer is a CUPS queue? -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Johan Brannlund
Here's a slightly updated patch that uses gtk_printer_accepts_pdf(). ** Attachment added: "New evince printing patch" http://launchpadlibrarian.net/28125774/evince-output-pdf-2.patch -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Johan Brannlund
I believe the bug is in this line in ev-print-operation.c: file_format = gtk_print_settings_get (print_settings, GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT); ... but the key GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT is only defined for the "output to file" pseudo-printer, according to http://library.gnom

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-19 Thread Johan Brannlund
The patch just papers over the fact that the original check is buggy: file_format is always set to the null string, when it should be "pdf" or "ps". I'll try to figure out why this happens. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-12 Thread Till Kamppeter
seb128, not that the evince patch is not working correctly. It makes jobs sent to a real printer being sent in PDF, but it also emits PDF if the user prints to a file and chooses PostScript as output format. Probably some additional check is needed. -- GTK apps should send PDF to CUPS when printi

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Bug Watch Updater
** Changed in: evince Status: Unknown => New -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.u

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Till Kamppeter
Upstream bug added: http://bugzilla.gnome.org/show_bug.cgi?id=585442 ** Bug watch added: GNOME Bug Tracker #585442 http://bugzilla.gnome.org/show_bug.cgi?id=585442 ** Also affects: evince via http://bugzilla.gnome.org/show_bug.cgi?id=585442 Importance: Unknown Status: Unknown --

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Sebastien Bacher
sorry I read the previous comment too quickly, I will upload after the alpha freeze, could you open an upstream bug about that too? -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Till Kamppeter
I thought about Karmic. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubun

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Sebastien Bacher
not sure that's something we want to change in a stable serie or a sru candidate -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mai

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-06-11 Thread Till Kamppeter
seb128, Poppler is fixed now in Karmic. Could you apply the Evince patch for Karmic's evince? Thanks. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-05-21 Thread Johan Brannlund
With Karmic and poppler 0.11, the above patch to make evince output PDF works much better. The PDF file that evince gives to cups is now just slightly bigger than the original, instead of being a factor of 100 larger, like it was before. -- GTK apps should send PDF to CUPS when printing https://

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-11 Thread Sebastien Bacher
the poppler changes are far to be trivial and probably for next cycle rather ** Changed in: evince (Ubuntu) Importance: Undecided => Wishlist Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs) -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-11 Thread Johan Brannlund
The reason for the huge files is a bug in Cairo that was fixed very recently. See http://bugs.freedesktop.org/show_bug.cgi?id=12769 Would there be any chance of the Cairo fix going into Jaunty? If not, it's probably better to leave Evince as it is. -- GTK apps should send PDF to CUPS when printi

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-11 Thread Johan Brannlund
Sorry, make that "bug in poppler". -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:/

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-09 Thread Johan Brannlund
Wow. The poppler pdf output seems to be... less than optimal. Running pdfimages on a 3-page pdf that came from the evince "Print preview" functionality gave me 10 000 ppm images. Poppler seems to embed bitmaps into the pdf, one for each character of text. No wonder the file is huge. Possibly relat

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-09 Thread Johan Brannlund
Unfortunately, the patch from the gnome bug didn't help. Evince still produces very large pdf output files for some documents. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-09 Thread Till Kamppeter
Johan, can you try the patch to see whether evince printing works better then? Thanks. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bu

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-08 Thread Johan Brannlund
It's possible the out-of-memory problems would be alleviated by the patch in http://bugzilla.gnome.org/show_bug.cgi?id=557112 . -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-08 Thread Johan Brannlund
I tried forcing evince to output pdf. It sort of works, but the pdftopdf filter consumes very large amounts of memory on large-ish documents. For a 5 meg pdf file, the resident size of pdftopdf grew to 1.6 gigabytes and the machine was swapping like crazy before I killed the process. I'm attaching

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-08 Thread Till Kamppeter
evince and several other applications are not affected by the GTK patch applied here. They need additional patches to output PDF instead of PostScript when printing, perhaps also in the individual applications. -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/2584

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-03-08 Thread Till Kamppeter
** Also affects: evince (Ubuntu) Importance: Undecided Status: New -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2009-01-06 Thread Bug Watch Updater
** Changed in: gtk Status: Unknown => New -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubun

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2008-11-10 Thread Till Kamppeter
** Bug watch added: GNOME Bug Tracker #560177 http://bugzilla.gnome.org/show_bug.cgi?id=560177 ** Also affects: gtk via http://bugzilla.gnome.org/show_bug.cgi?id=560177 Importance: Unknown Status: Unknown -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.ne

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2008-09-25 Thread Launchpad Bug Tracker
This bug was fixed in the package gtk+2.0 - 2.14.3-0ubuntu2 --- gtk+2.0 (2.14.3-0ubuntu2) intrepid; urgency=low * debian/patches/061_use_pdf_as_default_printing_standard.patch: - launchpad patch to use pdf as default printing standard (lp: #258421) -- Sebastien Bacher <[EMAIL

[Bug 258421] Re: GTK apps should send PDF to CUPS when printing

2008-08-15 Thread Till Kamppeter
** Attachment added: "Patch to make GTK output PDF when printing" http://launchpadlibrarian.net/16860504/pdf-printing.patch ** Changed in: gtk+2.0 (Ubuntu) Importance: Undecided => Medium -- GTK apps should send PDF to CUPS when printing https://bugs.launchpad.net/bugs/258421 You received