I'm not seeing much ability to change the pdf that's being generated/printed by QPrinter (other than margins, orientation and such), I'm afraid. What is is seen is what will be printed.
Quote:
Originally Posted by DNSB
Would it be easier to have the print function do a print to PDF and then have the user do the physical print from a PDF viewer? I often find doing that an easier way to print a range of pages instead of the whole document.
|
I think I'd rather leave this up to the user. If they have need of such granularity, they can always choose to "print" to a file using any configured PDF printer. The built-in QWebEnginePage::printToPdf() function has its own quirks that I'd like to avoid.