summaryrefslogtreecommitdiffstats
path: root/cups-ps-command-filter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cups-ps-command-filter.patch')
-rw-r--r--cups-ps-command-filter.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cups-ps-command-filter.patch b/cups-ps-command-filter.patch
new file mode 100644
index 0000000..88cd18b
--- /dev/null
+++ b/cups-ps-command-filter.patch
@@ -0,0 +1,13 @@
+diff -up cups-1.5.0/cups/ppd-cache.c.ps-command-filter cups-1.5.0/cups/ppd-cache.c
+--- cups-1.5.0/cups/ppd-cache.c.ps-command-filter 2011-11-04 13:10:34.405729542 +0000
++++ cups-1.5.0/cups/ppd-cache.c 2011-11-04 13:11:58.502184096 +0000
+@@ -1272,7 +1272,8 @@ _ppdCacheCreateWithPPD(ppd_file_t *ppd)
+
+ if (filter)
+ cupsArrayAdd(pc->filters,
+- "application/vnd.cups-command application/postscript 0 -");
++ "application/vnd.cups-command application/postscript 100 "
++ "commandtops");
+ }
+
+ if ((ppd_attr = ppdFindAttr(ppd, "cupsPreFilter", NULL)) != NULL)