Hi;

I have to print a document of variable length and therefore have to check on several places for possible page breaks. I am using QPrinter with QPainter. That would not be a problem if I did not have to print a header and footer to every one of that pages. Is there any sane way of doing that? What would you recommend?

Thank you for your answers! Regards; Luka