From 35d763f5d0d0c6f0db9bfdcedcb246260d0a57d6 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 18 May 2012 15:22:39 +0000 Subject: [PATCH] The IPP backend now treats the client-error-not-possible status code as a job history issue, allowing IPP printing to Windows to work (STR #4047) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10476 7a7537e8-13f0-0310-91df-b6672ffda945 --- CHANGES-1.5.txt | 3 +++ backend/ipp.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES-1.5.txt b/CHANGES-1.5.txt index 8fe01df5d..1947368dd 100644 --- a/CHANGES-1.5.txt +++ b/CHANGES-1.5.txt @@ -3,6 +3,9 @@ CHANGES-1.5.txt CHANGES IN CUPS V1.5.4 + - The IPP backend now treats the client-error-not-possible status code + as a job history issue, allowing IPP printing to Windows to work + (STR #4047) - The IPP backend incorrectly included the document-format and compression attributes in Create-Job requests (STR #4086) - The libusb-based USB backend did not work on non-Linux platforms diff --git a/backend/ipp.c b/backend/ipp.c index 70cab8a8f..40c844fcd 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -1702,7 +1702,7 @@ main(int argc, /* I - Number of command-line args */ response = cupsDoRequest(http, request, resource); ipp_status = cupsLastError(); - if (ipp_status == IPP_NOT_FOUND) + if (ipp_status == IPP_NOT_FOUND || ipp_status == IPP_NOT_POSSIBLE) { /* * Job has gone away and/or the server has no job history... @@ -1724,7 +1724,6 @@ main(int argc, /* I - Number of command-line args */ else { if (ipp_status != IPP_SERVICE_UNAVAILABLE && - ipp_status != IPP_NOT_POSSIBLE && ipp_status != IPP_PRINTER_BUSY) { ippDelete(response); -- 2.39.5