• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/scheduler/ipp.c b/scheduler/ipp.c
2index 5972b99..9d3cf35 100644
3--- a/scheduler/ipp.c
4+++ b/scheduler/ipp.c
5@@ -5325,7 +5325,8 @@ create_local_bg_thread(
6
7   cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Get-Printer-Attributes returned %s (%s)", printer->name, ippErrorString(cupsLastError()), cupsLastErrorString());
8
9-  if (status == IPP_STATUS_ERROR_BAD_REQUEST || status == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED)
10+  if (status == IPP_STATUS_ERROR_BAD_REQUEST || status == IPP_STATUS_ERROR_VERSION_NOT_SUPPORTED ||
11+    (attr = ippFindAttribute(response,	"document-format-supported",	IPP_TAG_MIMETYPE)) == NULL)
12   {
13    /*
14     * Try request using IPP/1.1, in case we are talking to an old CUPS server or
15