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é
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é