summarylogtreecommitdiffstats
path: root/wrapper.patch
diff options
context:
space:
mode:
authorJeong Woon Choi2021-06-05 20:13:38 +0900
committerJeong Woon Choi2021-06-05 20:13:38 +0900
commitb44102740ddc0c2034463c8240aaab85769871d2 (patch)
tree21ecfab9d07ec2c7cb92d1316840a42c1edf1cf0 /wrapper.patch
downloadaur-brother-hll2335d.tar.gz
Initial Commit
Diffstat (limited to 'wrapper.patch')
-rw-r--r--wrapper.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/wrapper.patch b/wrapper.patch
new file mode 100644
index 00000000000..78ebfc9fed9
--- /dev/null
+++ b/wrapper.patch
@@ -0,0 +1,30 @@
+--- opt/brother/Printers/HLL2335D/cupswrapper/lpdwrapper 2017-07-18 03:34:11.000000000 +0200
++++ opt/brother/Printers/HLL2335D/cupswrapper/lpdwrapper 2017-07-18 03:34:11.000000000 +0200
+@@ -66,8 +66,8 @@
+ logprint( 0 , "START\n");
+
+
+-$ENV{OWNER} = $ARGV[1];
+-$ENV{TITLE} = $ARGV[2];
++$ENV{OWNER} = $ARGV[2];
++$ENV{TITLE} = $ARGV[3];
+
+ $ENV{NODENAME} = `uname -n`;
+
+@@ -85,7 +85,7 @@
+
+
+
+-my $cmdoptions=$ARGV[4];
++my $cmdoptions=$ARGV[5];
+ my $PPD = $ENV{PPD};
+ my $CUPSINPUT='';
+ if ( @ARGV >= 6 ){
+@@ -193,6 +193,7 @@
+ 'Media=Env.Thin' => {"opt"=>"-md" , "val"=>"ENV-THIN"},
+ 'Media=Recycled' => {"opt"=>"-md" , "val"=>"RECYCLED"},
+ 'Sleep=PrinterDefault' => {"opt"=>"-sp" , "val"=>"PRINTER"},
++ 'PageSize=200.03x148.17mm' => {"opt"=>"-pt" , "val"=>"A5"},
+ );
+
+