Add Network Printer through libcups API
Russell Stewart
rnstewart at gmail.com
Fri Jun 20 12:13:20 PDT 2008
> 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
Are you sure that IPP is the way to go on this? If I'm reading the docs correctly, it appears that I'm doing an AppSocket (i.e., JetDirect) connection. My device uri is "socket://<IP Address>:9100/".
Or does this also go through an IPP request?
More information about the cups
mailing list