Das K Desktop Environment

7.2. The QPainter Class

Independent of the printer's capabilities, you can use QPainter to draw your document onto the printer provided by QPrinter like you would when drawing onto a widget. The only difficulty would be where you have to implement the way things have to be printed.