PDA

View Full Version : Cross platform PDF printing?



ucntcme
8th January 2008, 08:52
I've got a QTextDocumjent that I wish to print to pdf. I set up the printer, etc. and call a QPrinterDialog to allow filename/destination selection.

In Linux, it works b-e-a-u-tifully. On Win2k, Bubkess. After putting in some additional dialogs my dialog closes with the cancel indication. I'm currently building debug libs for 4.3.3 so qDebug() is not of any help here yet.

Looking fo rpointers as to why this doens't work as expected (I expect a printer dialog with the option to print to file).

--BTW the target environment will have no physical printers, which is why I need to print to PDF.

ucntcme
8th January 2008, 09:29
Apparently I can get the dialog to show IF I do not set the output filename. Though it still isn't making a PDF file.