I would like to understand better the printing engine.
I would print a PDF under Windows: is it possible?
With this code, which is good under windows, I cannot get printing the pdf under windows.Qt Code:
void MyPlot::printOut() { printer.setOutputFileName(tr("diagrammasolare.pdf")); printer.setCreator("Solar Calc"); if ( dialog.exec() ) { QwtPlotPrintFilter filter; // if ( printer.colorMode() == QPrinter::GrayScale ) { filter.setOptions(options); } print(printer,filter); } }To copy to clipboard, switch view to plain text mode
No dialog shows up and the message
only native format supported is shown.
So, is it possible to print pdf under Windows?
G
Bookmarks