Commit bfbf64f4 authored by Martin Klimes (k11m1)'s avatar Martin Klimes (k11m1)
Browse files

fix TA4505ci filters

parent 020a05c8
......@@ -7,6 +7,7 @@ use Carp qw/croak/;
use Cwd qw(cwd);
use File::Path;
use File::Copy;
use File::Basename;
########
# DATA #
......@@ -81,10 +82,13 @@ my $printers = {
my $models = {
'TA5007ci' => {
'filters' => [ 'kyofilter_pre_E', 'kyofilter_E', ],
'filters' => [
'/usr/lib/cups/filter/kyofilter_pre_E',
'/usr/lib/cups/filter/kyofilter_E',
],
},
'TA4505ci' => {
'filters' => [ 'kyofilter_B', ],
'filters' => [ '/usr/libexec/cups/filter/kyofilter_B', ],
'options' => [ 'Option19=One', 'Option21=True', 'Option17=DF730', ],
},
'hplj600' => {
......@@ -159,9 +163,11 @@ sub install_printer {
}
sub copy_filter {
my ($filter) = @_;
my ($path) = @_;
my $destination = "/usr/lib/cups/filter/";
my ( $filter, $destination, $suffix ) = fileparse($path);
# my $destination = "/usr/lib/cups/filter/";
if ( !-d $destination ) {
my $dirs = eval { mkpath($destination) };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment