1
0
forked from pool/cups-airprint
cups-airprint/pdf-support.patch
Olav Reinert a5a154994e Accepting request 806255 from home:oreinert:branches:Printing
- 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
2020-05-17 17:48:17 +00:00

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,