Skip to content
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

ClientErrorNotFound #5

Closed
brunohdossantos opened this issue Nov 18, 2021 · 1 comment
Closed

ClientErrorNotFound #5

brunohdossantos opened this issue Nov 18, 2021 · 1 comment

Comments

@brunohdossantos
Copy link

When querying the information of a printer I get the following error: The printer or class does not exist (ClientErrorNotFound)

@Zelenov
Copy link
Owner

Zelenov commented May 11, 2022

Hi, this is what we have in the docs

client-error-not-found (0x0406)

   The IPP object has not found anything matching the request URI.  No
   indication is given of whether the condition is temporary or
   permanent.  For example, a Client with an old reference to a Job (a
   URI) tries to cancel the Job, however in the mean time the Job might
   have been completed and all record of it at the Printer has been
   deleted.  This status code, 'client-error-not-found' is returned
   indicating that the referenced Job cannot be found.  This error
   status code is also used when a Client supplies a URI as a reference
   to the Document data in either a Print-URI or Send-URI operation, but
   the document cannot be found.

   In practice, an IPP application should avoid a not found situation by
   first querying and presenting a list of valid Printer URIs and Job
   URIs to the End User.

Seems like you are using url of a non-existing printer.
There is no way to list printers for now, but this pull request seems to make it possible: #8

@Zelenov Zelenov closed this as completed May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants