1 package SL::DB::Printer;
5 use SL::DB::MetaSetup::Printer;
6 use SL::DB::Manager::Printer;
7 use SL::DB::Helper::Util;
9 __PACKAGE__->meta->initialize;
12 goto &printer_description;
19 push @errors, $::locale->text('The description is missing.') if !$self->printer_description;
20 push @errors, $::locale->text('The command is missing.') if !$self->printer_command;
21 push @errors, $::locale->text('The description is not unique.') if !SL::DB::Helper::Util::is_unique($self, 'printer_description');