-
Notifications
You must be signed in to change notification settings - Fork 467
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
cups-lpd does not refuse printjobs if the queue is in state reject #515
Comments
CUPS.org User: mike Reassigned to 1.2; will be fixed there. |
CUPS.org User: mike Try the attached patch and let me know if you still have any difficulties. |
CUPS.org User: mike This STR has not been updated by the submitter for two or more weeks and has been closed as required by the CUPS Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR. |
"str515.patch": Index: cups-lpd.cRCS file: /development/cvs/cups/scheduler/cups-lpd.c,v /*
+/*
@@ -319,8 +416,6 @@ - language = cupsLangDefault();/*
@@ -337,6 +433,8 @@ snprintf(uri, sizeof(uri), "ipp://localhost/printers/%s", name);
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, @@ -370,22 +468,28 @@ if (response == NULL)
if (response != NULL)
}
putchar(0); |
Version: 1.1-current
CUPS.org User: stefan.klein.materna
Hi,
we put a cups-queue into the state reject and try to print to it via the cups-lpd.
From a network trace i see the client sending a "0x02" and cups-lpd responding with "0x00", from my understanding of the RFC-1179 this is wrong, cups-lpq has to answer with an octet of non-zero bits since the queue is in status reject.
Regards,
Stefan Klein
The text was updated successfully, but these errors were encountered: