version 1.1, 2018/07/24 12:19:21 |
version 1.2, 2019/11/17 21:22:03 |
Line 18 Patch-Name: pwg-raster-attributes.patch |
|
Line 18 Patch-Name: pwg-raster-attributes.patch |
|
|
|
diff --git a/scheduler/printers.c b/scheduler/printers.c |
diff --git a/scheduler/printers.c b/scheduler/printers.c |
index bb99907ad..a0ebcbd3e 100644 |
index bb99907ad..a0ebcbd3e 100644 |
--- scheduler/printers.c.orig |
--- scheduler/printers.c.orig 2019-11-17 12:21:47.966025953 +0000 |
+++ scheduler/printers.c |
+++ scheduler/printers.c |
@@ -2199,9 +2199,10 @@ cupsdSetPrinterAttrs(cupsd_printer_t *p)/* I - Printer to setup */ |
@@ -2249,9 +2249,10 @@ cupsdSetPrinterAttrs(cupsd_printer_t *p) |
cupsd_location_t *auth; /* Pointer to authentication element */ |
cupsd_location_t *auth; /* Pointer to authentication element */ |
const char *auth_supported; /* Authentication supported */ |
const char *auth_supported; /* Authentication supported */ |
ipp_t *oldattrs; /* Old printer attributes */ |
ipp_t *oldattrs; /* Old printer attributes */ |
Line 31 index bb99907ad..a0ebcbd3e 100644 |
|
Line 31 index bb99907ad..a0ebcbd3e 100644 |
|
+ mime_type_t *type; |
+ mime_type_t *type; |
|
|
|
|
DEBUG_printf(("cupsdSetPrinterAttrs: entering name = %s, type = %x\n", p->name, |
/* |
@@ -2538,6 +2539,80 @@ cupsdSetPrinterAttrs(cupsd_printer_t *p)/* I - Printer to setup */ |
@@ -2584,6 +2585,80 @@ cupsdSetPrinterAttrs(cupsd_printer_t *p) |
DEBUG_printf(("cupsdSetPrinterAttrs: leaving name = %s, type = %x\n", p->name, |
|
p->type)); |
add_printer_formats(p); |
|
|
+ /* |
+ /* |
+ * Add "pwg-raster-document-xxx-supported" attributes if PWG Raster input |
+ * Add "pwg-raster-document-xxx-supported" attributes if PWG Raster input |
Line 113 index bb99907ad..a0ebcbd3e 100644 |
|
Line 113 index bb99907ad..a0ebcbd3e 100644 |
|
/* |
/* |
* Add name-default attributes... |
* Add name-default attributes... |
*/ |
*/ |
|
@@ -3731,7 +3806,9 @@ add_printer_formats(cupsd_printer_t *p) |
From bbc3507a260d29db3fc5601826f33c10f9dccd1e Mon Sep 17 00:00:00 2001 |
|
From: Till Kamppeter <till.kamppeter@gmail.com> |
|
Date: Tue, 9 Aug 2016 18:11:29 +0200 |
|
Subject: Patch to support Apple AirPrint (printing from iPhone, iPad, iPod |
|
Touch to a CUPS server) |
|
|
|
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779 |
|
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495 |
|
Bug-Debian: http://bugs.debian.org/700961 |
|
Bug: https://cups.org/str.php?L4341 |
|
Last-Update: 2015-02-10 |
|
|
|
Patch-Name: airprint-support.patch |
|
--- |
|
conf/mime.convs.in | 3 +++ |
|
conf/mime.types | 3 +++ |
|
scheduler/conf.c | 2 +- |
|
scheduler/dirsvc.c | 6 ++++++ |
|
scheduler/printers.c | 4 +++- |
|
5 files changed, 16 insertions(+), 2 deletions(-) |
|
|
|
diff --git a/scheduler/printers.c b/scheduler/printers.c |
|
index a0ebcbd3e..b5fe9e031 100644 |
|
--- scheduler/printers.c.orig |
|
+++ scheduler/printers.c |
|
@@ -3765,7 +3765,9 @@ add_printer_formats(cupsd_printer_t *p) /* I - Printer */ |
|
} |
} |
else if (!_cups_strcasecmp(type->super, "image")) |
else if (!_cups_strcasecmp(type->super, "image")) |
{ |
{ |