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";