Quote Originally Posted by Uwe View Post
And what exactly is wrong with it ?

If I open the first pdf file I attached to my first post, I can see that (for example) the whole x axis is outside the page. The plot painted is larger than the page size. But this problem is solved by moving the setResolution line.
Quote Originally Posted by Uwe View Post
Hm. not here ( Linux/X11, Qt 4.7.0 ) - but all I did is to check if the value of QPrinter::resolution() has been changed after a QPrinter::setPaperSize().

Is this different on the Mac or where did you observe a wrong resolution ?
Yes, I observed the wrong resolution on the Mac. I already assumed that this might be a platform specific problem.