summarylogtreecommitdiffstats
path: root/XeroxOfficeQScript.patch
diff options
context:
space:
mode:
authoramid2022-03-24 01:31:46 +0600
committeramid2022-03-24 01:31:46 +0600
commit1b42f930370f380ccd0aba50f23680b22ca5c927 (patch)
treec9b5f7dd4f90df493cccaac3ac02478d96a2df2c /XeroxOfficeQScript.patch
downloadaur-1b42f930370f380ccd0aba50f23680b22ca5c927.tar.gz
Initial commit
Diffstat (limited to 'XeroxOfficeQScript.patch')
-rw-r--r--XeroxOfficeQScript.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/XeroxOfficeQScript.patch b/XeroxOfficeQScript.patch
new file mode 100644
index 000000000000..68c1f5efcc72
--- /dev/null
+++ b/XeroxOfficeQScript.patch
@@ -0,0 +1,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