PDA

View Full Version : Print files per IIP with Qt



Qiieha
3rd May 2011, 14:23
Hi all!
I want to print files per Internet Printing Protocol. How I can send a request from my Qt application to a network printer.

GET and POST are different, arent't they?

thank u for your help

nightghost
3rd May 2011, 14:39
QPrintDialog also lists network printers if available and configured on your system

Qiieha
3rd May 2011, 14:41
thank you for your reply!
But it is a core application. I don't have a QPrintDialog.

nightghost
3rd May 2011, 14:54
Well, perhaps you could use the libCUPS (http://www.cups.org/documentation.php/doc-1.4/api-cups.html#cupsPrintFile) (I never used it, but it looks like it provides what you need)

Qiieha
3rd May 2011, 15:18
ok thanks, I'll try it!