Bug 175107 - Need PDF printing support
Summary: Need PDF printing support
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: John Layt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-14 07:59 UTC by Ravi Arora
Modified: 2008-12-15 15:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Arora 2008-11-14 07:59:48 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

KDE4 printing system doesn't show options for printing to PDF files. Please include this support ASAP. We all need this.
Comment 1 Pino Toscano 2008-11-14 20:32:04 UTC
There is no "KDE4 printing system", but "Qt4 printing system".
Please ask qt-bugs@trolltech.com.
Comment 2 Ravi Arora 2008-11-14 21:43:52 UTC
Oh thanks a lot for pointing me out. It means they removed it but why?
Comment 3 Ravi Arora 2008-11-14 21:58:23 UTC
Is there any list where I can submit qt bugs?
Comment 4 Médéric Boquien 2008-11-14 22:06:41 UTC
Hi Ravi,

The Qt task tracker is available there: http://trolltech.com/developer/task-tracker

Thanks.
Comment 5 Ravi Arora 2008-11-14 22:32:39 UTC
I think the functionality is already there but not included in KDE. The reason is I say so is because of this bug in Qt 4.0.0 which says print to pdf is buggy.

http://trolltech.com/developer/task-tracker/index_html?method=entry&id=85823
Comment 6 John Layt 2008-11-14 23:09:46 UTC
Print to PDF is enabled and working in KDE4 using the Qt print system.  It certainly works here.  Th eonly place it doesn't work is in Okular when printing PDF's and PS's.  Have you tried various KDE apps?  

Could you tell me what version of Qt you have installed?  There were issues with Qt 4.4.0, but these were fixed in 4.4.1.  

Can you also advise which version of Ubuntu you are using?
Comment 7 Ravi Arora 2008-11-15 10:09:16 UTC
Thanks a lot. The application in which I checked this was Okular itself. Well sometimes user wish to extract a page or two from kpdf and use the print to pdf feature (but how to do this now?) . I checked in konqueror and its there.
Comment 8 A. Spehr 2008-12-01 09:38:49 UTC
There is no kpdf in 4. 
Comment 9 Ravi Arora 2008-12-01 10:01:57 UTC
Isn't Okular a Kpdf replacement (and enhancement).
Comment 10 A. Spehr 2008-12-01 11:45:56 UTC
Yes.

Qt is also now handling various printing aspects.
Comment 11 John Layt 2008-12-14 14:55:31 UTC
I have patches ready now that enables printing to pdf in okular using the ghostscript ps2pdf command, just waiting for OK from aacid to commit for 4.2, otherwise will be 4.3.
Comment 12 John Layt 2008-12-15 01:16:27 UTC
Committed patch to fix this in 4.2, also backported to 4.1 seeing as it's a bug fix.  Requires user to have Ghostscript installed as it uses ps2pdf to convert the ps print file to the target pdf file.

Note that this will use the page size set in the print dialog and not the original document size when setting the size of the destination document, if the default print paper size is different to the document paper size the user will need to adjust accordingly.  This is an existing issue with any of the other document types supported natively.

We could always force the destination paper size to the document paper size, as this does seem the more common use case, but then users would never be able to change the page size and we would likely get complaints that we don't respect the user selected paper size.
Comment 13 Ravi Arora 2008-12-15 15:05:46 UTC
Thanks a lot.

All KDE users (especially who are not in the KDE development)