summarylogtreecommitdiffstats
path: root/brother-hll6402dw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'brother-hll6402dw.patch')
-rw-r--r--brother-hll6402dw.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/brother-hll6402dw.patch b/brother-hll6402dw.patch
new file mode 100644
index 000000000000..4efcd79faa99
--- /dev/null
+++ b/brother-hll6402dw.patch
@@ -0,0 +1,22 @@
+diff --git a/opt/brother/Printers/HLL6402DW/cupswrapper/brother_lpdwrapper_HLL6402DW b/opt/brother/Printers/HLL6402DW/cupswrapper/brother_lpdwrapper_HLL6402DW
+index 8281c15..01acb5d 100755
+--- a/opt/brother/Printers/HLL6402DW/cupswrapper/brother_lpdwrapper_HLL6402DW
++++ b/opt/brother/Printers/HLL6402DW/cupswrapper/brother_lpdwrapper_HLL6402DW
+@@ -53 +53,3 @@ chomp($basedir);
+-$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
++#$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
++my $PRINTER = "HLL6402DW";
++my $basedir = "/usr/share/Brother/Printer/$PRINTER";
+@@ -85 +87 @@ my $PPD = $ENV{PPD};
+-my $PRINTER=$basedir;
++#my $PRINTER=$basedir;
+@@ -92,3 +94,3 @@ if ( @ARGV >= 6 ){
+-$PRINTER =~ s/^\/opt\/.*\/Printers\///g;
+-$PRINTER =~ s/\/cupswrapper//g;
+-$PRINTER =~ s/\///g;
++#$PRINTER =~ s/^\/opt\/.*\/Printers\///g;
++#$PRINTER =~ s/\/cupswrapper//g;
++#$PRINTER =~ s/\///g;
+@@ -807 +809 @@ sub exec_lpdconfig {
+- $lpddir = $basedir."/lpd/";
++ $lpddir = $basedir."/lpd";