Add Network Printer through libcups API
Azuri
azuri.shah at fmr.com
Tue Aug 30 13:30:13 PDT 2011
> Russell Stewart wrote:
> > Michael Sweet wrote:
> >
> >> You need to create an IPP request and send it using cupsDoFileRequest
> >> (assuming you are using a PPD file or interface script for the queue)
> >
> > OK, I see. So I assume that ippNewRequest() is the method to call for creating the IPP request, right?
>
> Yes. See the "CUPS Implementation of IPP" document for documentation
> on the attributes and operations:
>
> http://www.cups.org/documentation.php/spec-ipp.html
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products mike at easysw dot com
Can you please provice code on how u did it? I am trying to do the same time but have no success so far. How can I use API's to add printer to my mac. I am developing a Coca app which provides GUI and takes user input to add printer using cups. Please let me know
More information about the cups
mailing list