Can you do me a favor and add the following lines of code and tell me if the rectangles show on the paper? For me they don't. I only see the left and bottom of the page rectangle and the left side of the paper rectangle.
QPainter painter(&p);
painter.drawRect(p.pageRect());
painter.setPen(QPen(QColor("blue")));
painter.drawRect(pr);
Thanks
Bookmarks