summarylogtreecommitdiffstats
path: root/XeroxOfficeQScript.patch
blob: 68c1f5efcc7203fb76f450e62ddbc35d9a5d26c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./usr/lib/cups/filter/XeroxOfficeQScript	2020-01-08 00:29:43.000000000 +0600
+++ ./usr/lib/cups/filter/XeroxOfficeQScript	2022-03-23 00:31:50.000000000 +0600
@@ -73,6 +73,7 @@
         UserName=`echo "$2" | sed -e "s/^/-u /g" -e "s/\"//g"`
         USER=$2
         Title=`echo "$3" | sed -e "s/^/-t/g" -e "s/\"//g"`
+        Copies=$4
 		if [ "_${5}" != "_" ]; then
 	        OptionList=`echo "$5" | sed -e "s/ / -o /g" -e "s/^/-o /" -e "s/\"//g"`
 	    fi
@@ -137,7 +138,7 @@
               rm $TMPPRN
            fi
         else
-           ${ToolPath}/xeroxofficedriver -d${PRINTER} $Copies $UserName "$Title" $OptionList $* 1>>/dev/null 2>>/dev/null
+           ${ToolPath}/xeroxofficedriver -d${PRINTER} $Copies $UserName "$Title" $OptionList $RequestID $* 1>>/dev/null 2>>/dev/null
         fi
 
         exit 0