summarylogtreecommitdiffstats
path: root/brother_lpdwrapper_HLL2305.patch
diff options
context:
space:
mode:
Diffstat (limited to 'brother_lpdwrapper_HLL2305.patch')
-rw-r--r--brother_lpdwrapper_HLL2305.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/brother_lpdwrapper_HLL2305.patch b/brother_lpdwrapper_HLL2305.patch
new file mode 100644
index 00000000000..76eaf0f49f2
--- /dev/null
+++ b/brother_lpdwrapper_HLL2305.patch
@@ -0,0 +1,23 @@
+53,54c53,55
+< $basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+<
+---
+> #$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+> my $PRINTER = "HLL2305";
+> my $basedir = "/usr/share/Brother/Printer/$PRINTER";
+80c81
+< my $PRINTER=$basedir;
+---
+> #my $PRINTER=$basedir;
+87,89c88,90
+< $PRINTER =~ s/^\/opt\/.*\/Printers\///g;
+< $PRINTER =~ s/\/cupswrapper//g;
+< $PRINTER =~ s/\///g;
+---
+> #$PRINTER =~ s/^\/opt\/.*\/Printers\///g;
+> #$PRINTER =~ s/\/cupswrapper//g;
+> #$PRINTER =~ s/\///g;
+736c737
+< $lpddir = $basedir."/lpd/";
+---
+> $lpddir = $basedir."/lpd";