PDA

View Full Version : printing in linux... how?!


andre-pt
15th July 2008, 16:51
Hello all,

I'm writing an application in based in C/C++ and I want my app to print to a standard printer.

From what I have read, the way to go is to use CUPS as a layer between my app and the printer, so my question is...

How do I do this?
Does anyone know of a library (in C/C++ would be great, but any language that can interface C/C++ can is also good:)), that allows me to interface cups and setup/change the installed printers?

I want something like this

SetupPrinter(...)
(...)
PrintFile(...)

best regards
André

burschik
16th July 2008, 12:21
http://www.cups.org/documentation.php