View Full Version : Printing on QT

November 15th, 2008, 07:17 PM
Hey. I am trying to print to a page on my printer from qt. I have been trying for hours trying to get a simple program that just prints out a test page.

But I am having no luck.

Can someone PLEASE give me a simple program (that compiles) that prints out a page?


Paul Miller
November 17th, 2008, 02:00 AM
I don't really know much about C++ or Qt, but this (http://docs.huihoo.com/qt/4.2/printing.html) page has some complete-looking example code that should work.