Bug 175097

Summary: PDF Backend does not support "Print to file"
Product: [Applications] okular Reporter: Stefan Brüns <stefan.bruens>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: jlayt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Brüns 2008-11-14 02:18:42 UTC
Version:            (using KDE 4.1.3)
Installed from:    SuSE RPMs

Current state for the PDF backend:

* PDF backend supports printing to Postscript (Poppler PSOutputDevice), so it could print to PS file.

* PDF backend does not support conversion to PDF - Poppler has no PDFOutputDevice, although it can save its internal state of the PDF document. Dont know if this is enough if there are annotations, only a selection of pages should be printed, printing to different paper size ...

* QTs print dialog only has a general flag for disabling printing to file, but does not differentiate between "print to PDF" and "print to PS". There is no possibility for an application to signal "generation of PS is supported, but not for PDF" - so printing to file is disabled completely.

For KDE3/Kpdf, this was different - applications had to generate PS, and the PS was converted to PDF (via ghostscript).

** PLEASE ** dont close this _wishlist_ item as invalid - saving to PS _and_ PDF would be really nice, especially when one has made annotations to the document or filled out a form.
Comment 1 John Layt 2008-12-17 23:34:41 UTC
Fixed for 4.2 and the next 4.1.x.