-
Notifications
You must be signed in to change notification settings - Fork 178
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
libcups.so.2::cupsCreateJob failed on remote CUPS server ( client-error-not-found for Get-Printer-Attributes ) #586
Comments
What version of CUPS are you using? |
Currently running version 2.2.13 of apple/cups and relevant behaviour may be seen as of version 2.2.12 Corresponding changes of file Many thanks for any kind of advice! Notes: |
Please re-test against CUPS 2.4.x to see if this is still an issue for OpenPrinting CUPS. Otherwise it is up to Apple to fix in their legacy version of CUPS. |
Re-tested with OpenPrinting/cups#v2.4.2. Log:
If I am interpreting this line correctly OpenPrinting/cups dest-options.c:719
Some thoughts: Many thanks for any kind of advice! |
Hi @chri50 , what about setting a different CUPS server via Either way you are trying to communicate with LPD printer via IPP protocol, which IMHO would not work unless you send the IPP request to printer's IPP port. |
Hi @zdohnal , thank you very much for your suggestions, I'll take this into account and keep this thread updated. Short Addition: |
Near as I can tell, the code deciding whether to connect to the device or server isn't properly detecting things - clearly if that test fails then it should only connect to the device if it uses an IPP URI. |
OK, so for 2.5 and later we really need to add a |
Hi, I am working on printing services using CUPS as printing backend and run into a problem and may ask for suggestions.
pls note: issue reported at: apple/cups#6100 as well.
Short: using libcups.so:2::cupsPrintFile to hand over print requests - this works fine on localhost.
Doing the same using identical remote CUPS server instead failed with
client-error-not-found
.I am uncertain if i am doing something terribly wrong. From my point of view I would like to point out what went wrong and kindly ask for support.
All starts with
cupsPrintFile
using http_t*
httpConnect2(host_.data(),port_,NULL,AF_UNSPEC,HTTP_ENCRYPTION_IF_REQUESTED,TRUE,msec_to_,&cancel_);
will come down to cupsCreateJob.cupsCreateJob
will send three IPP requests to the remote CUPS server:Log:
In my case i would like to talk to the remote CUPS server.
Especially due to line:
cups/cups/dest-options.c
Lines 719 to 723 in d74a3d1
Question: Is there any change to force or configure to do the second IPP request right?
Many thanks for any suggestions!
cups/cups/dest-options.c
Lines 706 to 728 in d74a3d1
The text was updated successfully, but these errors were encountered: