Regarding the addition of printers (devices) to the Papple-based printer application using IPP calls. #372
Unanswered
Kaushik1216
asked this question in
Q&A
Replies: 1 comment
-
It would be helpful to know what errors you are getting, meaningful or not. Calling One thing of note in the included code - connecting to the mDNS hostname will almost certainly result in a remote network connection (even on the same machine) which will fail since remote admin is disabled by default in printer applications (for what should be obvious security reasons...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone!
I'm working on a GSoC '24 project, with one of the main goals being to add printers (devices) to the printer application through IPP calls.
Steps:
Using device ID information, I make an IPP call to the printer application to retrieve the appropriate driver.
Using the driver and additional information, I then make a call to the printer application to add the printer.
Below are the implementations of both IPP calls.
I believe I might be using incorrect options for the IPP calls. Could anyone help me troubleshoot this? I have debugged the code but am not getting meaningful error messages.
code
gboolean
cph_cups_printer_add (CphCups *cups,
const char *printer_name,
const char *printer_uri,
const char *ppd_file,
const char *info,
const char *location)
{
}
Beta Was this translation helpful? Give feedback.
All reactions