Printing txt file vs Printing pdf file
Hi all,
is it different to print (sending to printer) a txt file from printing a pdf file?
I mean, can the same Qt code handle both situation ?
If not, how do I load (with qt code) a pdf file, for sending it to the default printer?
Thank you very mutch for you kind reply..
Roby
Re: Printing txt file vs Printing pdf file
You can use QDesktopServices to open it in a default PDF viewer for your system.
Re: Printing txt file vs Printing pdf file
I have written some sample data to file "sample.txt". I would like to print the contents of the file to my printer. Could you please tell me how will the code be in order to do this ? Sorry for asking a question in middle of this discussion.
Re: Printing txt file vs Printing pdf file
Quote:
Could you please tell me how will the code be in order to do this ?
Could you please ask a question that can be answered?