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

Kurt Pfeifle k1pfeifle at gmx.net
Sat Jul 28 11:45:31 BST 2007


Thomas Zander wrote:
> On Saturday 28 July 2007 12:12:02 Kurt Pfeifle wrote:
>> Thomas Zander wrote:
>>> * When I print to PDF in kprinter (exactly like I would in a
>>> qprinter) it doesn't work; I get the following dialog:  (zipped jpeg)
>>> http://lists.kde.org/?l=kde-release-team&m=118528280810342&q=p3
>> "...print *to* PDF", and you get this dialog???
>>
>> Are y' sure this wasn't a typo, and should have read "...print *a*
>> PDF"?
>
> if I paint/print *anything* after doing a 
> myKPrinter.setOutputFormat(QPrinter::PdfFormat);
> I get the above set dialog.

OK, in that case that's normal. You are kprinter-ing *a* PDF then...

Meaning you are handing a PDF to kprinter.

Your expression "print to PDF in kprinter" implied to me (looking at it
rather from the enduser perspective) that you wanted kprinter to use
the 'special' printer "Print to File (PDF)".

-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany





More information about the kde-core-devel mailing list