I have a problem with viewing the pdf file before printing. I can successfully paint on QPrinter. But before the file can be saved or send to printer, I want to view it first.
I have a problem with viewing the pdf file before printing. I can successfully paint on QPrinter. But before the file can be saved or send to printer, I want to view it first.
I want to view the file before sending to the printer
I dont know how to solve that problem, so What I need is suggestions.
I suggest you use some initiative
QPrintPreviewWidget
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
I can paint on QLabel but there are some information that have to go to other pages so with QPainter I can do it easily.I created a nice report so I want the user to be able to view that report before he can save it or print.
Bookmarks