Hello everybody. Please hear me out...

I declare a QPainter over a QPrinter and draw some images, some text, it doesn't matter.
I also would like to have an option to save the specific content as an image (.png, .img).

Here comes my problem:

When printing to the printer, I apply to QPrinter object some properties, such as page orientation, page size, etc.
Afterward when I try to print over a QImage the same thing, I must declare a QPainter(&QImage).
What must I do to keep QPainter's properties (page orientation.. as I mentioned upper) over the QImage, so that
the saved file will have the same properties (or how can I take those properties from the QPrinter's QPainter object).

Thanks a lot