summarylogtreecommitdiffstats
path: root/0000-MFC-7820N-pstops.patch
diff options
context:
space:
mode:
Diffstat (limited to '0000-MFC-7820N-pstops.patch')
-rw-r--r--0000-MFC-7820N-pstops.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0000-MFC-7820N-pstops.patch b/0000-MFC-7820N-pstops.patch
new file mode 100644
index 000000000000..0d028dc2f464
--- /dev/null
+++ b/0000-MFC-7820N-pstops.patch
@@ -0,0 +1,25 @@
+diff -Naru3 Arch.orig-0000/usr/Brother/inf/brMFC7820Nfunc Arch/usr/Brother/inf/brMFC7820Nfunc
+--- Arch.orig-0000/usr/Brother/inf/brMFC7820Nfunc 2012-09-19 07:02:09.000000000 -0400
++++ Arch/usr/Brother/inf/brMFC7820Nfunc 2018-07-13 20:00:00.339931540 -0400
+@@ -24,3 +24,5 @@
+ Sleep={PrinterDefault,"1-99"}
+ Toner Save Mode={ON,OFF}
+
++[psconvert2]
++pstops=/usr/lib/cups/filter/pstops
+diff -Naru3 Arch.orig-0000/usr/Brother/lpd/filterMFC7820N Arch/usr/Brother/lpd/filterMFC7820N
+--- Arch.orig-0000/usr/Brother/lpd/filterMFC7820N 2012-09-19 07:02:09.000000000 -0400
++++ Arch/usr/Brother/lpd/filterMFC7820N 2018-07-13 20:00:00.343264864 -0400
+@@ -110,10 +110,9 @@
+ fi
+
+ #PSTOPSFILTER=`which pstops`
++PSTOPSFILTER='/usr/lib/cups/filter/pstops'
+
+-if [ -e '/usr/bin/pstops' ];then
+- PSTOPSFILTER='/usr/bin/pstops'
+-else
++if [ ! -e "${PSTOPSFILTER}" ];then
+ PSTOPSFILTER=''
+ fi
+