wkarl 0 Newbie Poster

how i can set a header and footer when printing a QTextDocument in pyqt4 ?