KDE Print porting - help needed

Pino Toscano toscano.pino at tiscali.it
Tue Oct 16 00:36:00 BST 2007


Alle sabato 13 ottobre 2007, John Layt ha scritto:
> On Saturday 13 October 2007, Albert Astals Cid wrote:
> > Okular PDF printing won't work then because we need
> > KPrinter::printFiles().
>
> This is a major problem.  QPrinter does not provide a method to directly
> print a file, you always have to paint onto a QPainter.  All the okular
> generators are designed to convert the native format to a temporary ps
> file, and then call printFiles() to use that ps file as input into
> KPrinter.

A major problem... that was "solved" by by John by simply disabling printing 
of PDF, PS, DVI and DjVu documents (basically, most of the non-MS/ODF office 
documents formats around), great!

Kudos for the unuseful (at least for okular) QPrinter,
-- 
Pino Toscano
-------------- 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/20071016/3b97c6fd/attachment.sig>


More information about the kde-core-devel mailing list