no simple way to print a QTextDocument in KDE(?)

Cristian Tibirna tibirna at kde.org
Thu Jul 26 03:06:53 BST 2007


On 24 July 2007 20:40, Andreas Hartmetz wrote:
> Can somebody familiar with the matter think of a solution that works
> now, or how much stuff would need to be changed to make it work?
> One solution might be a KTextDocument that just reimplements print(),
> for example. Or KPrinter::printTextDocument() [...]

Why not simply printing to a PostScript stream (in memory or on disk) using 
QPrinter then sending *that* to KPrinter?

-- 
Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070725/b3efdf40/attachment.sig>


More information about the kde-core-devel mailing list