-
Notifications
You must be signed in to change notification settings - Fork 229
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
Canon PIXMA MX925: "lpadmin -p testq ... -m everywhere" returns "Unable to create PPD file: No such file or directory" #406
Comments
Hi @jaimet , please report this issue to Debian as well, we are at version 2.4.2 upstream, 2.3.3op2 is almost a year old version. It would be great if you tried this with the latest version 2.4.2.
It would be great if you provided CUPS debug logs which happened during the command - please turn on debug logging by
Unfortunately the file is incomplete - it shows only one attribute - media-col-database. Please check your get-printer-attributes.test file whether it correctly requests
Ok, so driverless from cups-filters can generate the PPD - and it seems the device supports only Airprint, but it shouldn't be a problem for CUPS PPD generator. |
Hi @zdohnal
I haven't reported it to Debian yet (given that Debian stable/Bullseye will probably stay at v2.3.3op2, I'm not sure how much a bug report will help!), but I have "upgraded" the machine from stable (Bullseye) to testing (Bookworm), so here are the (now currently-installed) package versions:
Ok, using cups v2.4.2, I have redone the commands with debug logging. I have annotated the error_log with the commands that I ran and the output from those commands - I hope it makes sense:
I have redone the same command using v2.4.2:
The "output" ( (When I ran this I attach my get-printer-attributes.test.txt I have this funny feeling that the conclusion of this bug report will be that the ipp implementation in the Canon Pixma MX925 is irreparably broken. Thanks again, J |
If there is a fix regarding the issue here already or there can be a fix, Debian maintainers can backport the fix to the stable, but as you've guessed, there probably won't be any :( .
Thanks, that helps a lot!
Thank you! I see the following error:
Based on the output you've shared from ipptool (which is really the same as you said) my guess is your printer is not capable processing list of requested attributes, but it only takes the last one from the list and sends response for it...
Looks fine - the line with requested attributes is correct and the same as mine:
Broken it is, but I wouldn't say irreparably - please check whether there is a new firmware update for the printer and try the installation via everywhere again. Other thing we can check is a traffic capture - check whether we really send IPP request with It would be great if you captured and attached the file with network traffic when you do the request. You can do it via:
|
Unfortunately there is no later version of firmware available - I'm already running the latest (v3.041).
Here is the result of running (If A couple of different questions:
|
That's alright - so from the capture I see we really send the correct request, but the device responds only by media-col-database.
Hmm... do you get this specific error with 2.4.2 as well? Because IIUC since 2.4.1 there is a bug that the command fails silently (#347) because we generate the PPD in separate thread and don't wait for result AFAIK. But sending 0 for error is a bug as well.
I've checked We will discuss whether we will add this compatibility hack into CUPS (probably based on whether we will have some place where manufactures will sometime check if there is a bug in their firmware...), but I wouldn't rely on it for now... |
Debian stable (bullseye), v11.3
I don't understand much about cups and IPP, so I'm not sure whether this is a bug, whether it's "by design" (the Canon PIXMA MX925 is not in the list at https://www.pwg.org/printers/ so perhaps this command is supposed to fail), and even if this is a bug, whether or not this is the correct place to report it.
Preemptively I am attaching the outputs from:
ipptool --ippserver printer.attr.txt ipp://inkjet.local:631/ipp/print get-printer-attributes.test
printer.attr.txt
and
driverless ipp://inkjet.local:631/ipp/print > ppdProducedByDriverless.ppd
ppdProducedByDriverless.ppd.txt
FWIW,
TIA, JT.
The text was updated successfully, but these errors were encountered: