forked from pool/cups-airprint
a5a154994e
- python3.patch: Port script to python3 - pdf-support.patch: Fix printer discovery - Add minimal build check to verify the script can run at all OBS-URL: https://build.opensuse.org/request/show/806255 OBS-URL: https://build.opensuse.org/package/show/Printing/cups-airprint?expand=0&rev=7
21 lines
674 B
Diff
21 lines
674 B
Diff
commit 8d1b60bf828ab842731b91af121fcf8a27854811
|
|
Author: Olav Reinert <seroton10@gmail.com>
|
|
Date: Sun May 17 16:47:44 2020 +0200
|
|
|
|
Ensure PDF support (via CUPS)
|
|
|
|
This is needed to ensure that suitable printers are discovered.
|
|
|
|
diff --git a/airprint-generate.py b/airprint-generate.py
|
|
index ed224ff..358d627 100644
|
|
--- a/airprint-generate.py
|
|
+++ b/airprint-generate.py
|
|
@@ -71,6 +71,7 @@ DOCUMENT_TYPES = {
|
|
'application/pdf': True,
|
|
'application/postscript': True,
|
|
'application/vnd.cups-postscript': True,
|
|
+ 'application/vnd.cups-pdf': True,
|
|
'application/vnd.cups-raster': True,
|
|
'application/octet-stream': True,
|
|
'image/urf': True,
|