Scale your image to fit the printer with QPixmap::scaled(p.pageRect(), Qt::KeepAspectRatio);