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

printer-state-reasons cleared after job completion #2323

Closed
michaelrsweet opened this issue Apr 2, 2007 · 2 comments
Closed

printer-state-reasons cleared after job completion #2323

michaelrsweet opened this issue Apr 2, 2007 · 2 comments

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.8
CUPS.org User: twaugh.redhat

The printer-state-reasons attribute is cleared after job completion, when it probably shouldn't be.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"cups-printer-state-reasons.patch":

--- cups-1.2.10/scheduler/job.c.printer-state-reasons 2007-04-02 13:42:22.000000000 +0100
+++ cups-1.2.10/scheduler/job.c 2007-04-02 13:42:35.000000000 +0100
@@ -215,7 +215,6 @@

printer->state_message[0] = '\0';
  • cupsdSetPrinterReasons(printer, "");
    cupsdSetPrinterState(printer, IPP_PRINTER_IDLE, 0);

cupsdAddEvent(CUPSD_EVENT_JOB_COMPLETED, printer, job,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant