blob: 32781a002158a8ee7fe15f0af1e054c0c56d7c46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/opt/brother/Printers/HLL6250DW/cupswrapper/brother_lpdwrapper_HLL6250DW b/opt/brother/Printers/HLL6250DW/cupswrapper/brother_lpdwrapper_HLL6250DW
index 8281c15..01acb5d 100755
--- a/opt/brother/Printers/HLL6250DW/cupswrapper/brother_lpdwrapper_HLL6250DW
+++ b/opt/brother/Printers/HLL6250DW/cupswrapper/brother_lpdwrapper_HLL6250DW
@@ -53 +53,3 @@ chomp($basedir);
-$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+#$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+my $PRINTER = "HLL6250DW";
+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";
|