summarylogtreecommitdiffstats
path: root/0000-MFC-7820N-pstops.patch
blob: 0d028dc2f464bf4ed4318e79d801102fd5b8bf71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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