PDA

View Full Version : Print a pdf file on a real printer



FelixB
6th July 2017, 09:01
Hello,

I know QPrinter can print to pdf files, but that it *not* what I want. I want to let the user choose a pdf file and allow him to print it on a "real" printer. Is that possible?

The workaround would be to open the pdf in an external application which has print support, printing directly would be nicer ;)

thanks in advance,
Felix

ChrisW67
8th July 2017, 04:16
Not with out-of-the-box Qt. Poppler, MuPDF, and Ghostscript (probably others) offer open source options. You could also automate Adobe Reader on Windows using ActiveQt.