Quote Originally Posted by wysota
Save it into QImage or QPixmap using appropriate methods from QGLWidget and then print as usual.
PDF is a scalable format, what gets lost doing it via a pixmap/image.
If vector data has to be painted, one should always try to render the PDF documents with QPainter using drawing primitives like lines, rects ... . Of course the geometry of these primitives has to be in qreals.

HTH,
Uwe