Re: How to print pdf file?
QTextDocument is for editing text documents. A PDF file is not a text document. If you want to render a PDF file to a printer then you will need to use a third-party library (e.g. Poppler) to read the PDF file and produce something you can print. The answer hasn't really changed since the first time you asked: https://www.qtcentre.org/showthread.php?t=42061
BTW: They should be [code][/code] tags
Re: How to print pdf file?
[QUOTE The answer hasn't really changed since the first time you asked: https://www.qtcentre.org/showthread.php?t=42061
[/QUOTE]
hi ChrisW67,
The thread http://www.qtcentre.org/showthread.php?t=42061 is another its not same.
It was about postscript conversion ,here my point is how should messaged my printer to accept pdf file like
document() function will return QTextdocument pointer to hold text data,like wise is there any function to
hold pdf data that can be directly send via print() function.
You have suggested me third party library poppler can u give any links or forum toknow more about poppler
easily?
thanks.