-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add the ipp network printer to cup server #514
Comments
See the CUPS Implementation of IPP, specifically the information about the CUPS-Add-Modify-Printer operation. The "ppd-name" attribute will have a value of 'everywhere' for an IPP Everywhere printer, otherwise you need to specify a driver/model name ( For a C code example, look at the "lpadmin.c" file in the CUPS source code. |
Thank you for the response. |
@michaelrsweet, I tried to add an ipp printer to CUPS on macOS as you described - especially with "ppd-name=everywhere". However it does not work on macOS 12.6 with CUPS 2.3.4:
because there is no such file:
My ipptool test case is documented here: https://github.com/gmuth/ipp-client-kotlin/tree/master/issues/%2310 |
@gmuth macOS uses an old version of CUPS that doesn't support the "everywhere" virtual PPD; instead, the "lpadmin" command and "admin.cgi" programs did the PPD generation and provided the PPD file as an attachment. |
Ok, on macOS I should be able to generate the PPD with ipp2ppd: |
@gmuth It can be anything, including /dev/null - IIRC it is used to update a print queue. |
Hi Team,
I would like to add the network printer to cups server using http call ( printer_host_name, port).
I couldn't find the way to add the printer to cupserver from cups api documentation.
Please share the cup api which allows to add ipp network printer into cups and share the different approaches to connect the printer.
Currently, I have connecting the cup server with cups4j library through java.
Thanks
The text was updated successfully, but these errors were encountered: