PDA

View Full Version : viewing doc before printing



kito
25th July 2012, 16:35
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.

wysota
25th July 2012, 17:15
I have a problem with viewing the pdf file before printing.
What kind of problem?

kito
25th July 2012, 18:35
I want to view the file before sending to the printer

wysota
25th July 2012, 18:50
You told us your goal but what is the problem you are having?

kito
25th July 2012, 18:56
I dont know how to solve that problem, so What I need is suggestions.

amleto
25th July 2012, 19:09
I suggest you use some initiative

QPrintPreviewWidget

wysota
25th July 2012, 19:26
I can successfully paint on QPrinter.
Can you successfully paint it on something else than QPrinter? Say... QWidget?

kito
25th July 2012, 19:37
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.

wysota
25th July 2012, 19:47
I can paint on QLabel but there are some information that have to go to other pages
Then paint on multiple widgets. I really don't see the problem.