KDE4 printing: results of IRC meeting

Thiago Macieira thiago at kde.org
Fri Sep 14 19:39:33 BST 2007


On Friday 14 September 2007 20:28:44 Albert Astals Cid wrote:
> Well i remember Alex saying in the IRC meeting print preview was trivial to
> add (i should note print preview WORKS NOW for me), basically you just need
> to get the QPrinter to print to ps/pdf and pass it to okularpart. I don't
> really know what has changed since then but i don't have the time to do
> code a print preview. And even if i had i don't feel like writing it.

The problem will be adding the Print Preview button to the print dialog. And 
making it something that works in the future.

Right now, the print preview is something that KPrinter does. And it also 
knows only PostScript. QPrinter doesn't do it. 

In order to have this feature, the "Preview" button would have to set QPrinter 
to print to PDF, then launch Okularpart to show it. Well, how, without 
modifying QPrinter and without having a public KPrinter class?

Also bear in mind that Qt 4.4 will have a Print Preview dialog which is will 
(hopefully, it's in our plans) allow you to modify the print layout and see 
the results on the fly. Think setting margins and repaginating.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070914/858f445f/attachment.sig>


More information about the kde-core-devel mailing list