Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
663 B

#!/usr/bin/perl
use lib '/usr/local/opus-dev/intranet/modules';
use C4::Context("/etc/koha-opus-dev.conf");
use strict;
use CGI;
use C4::Labels;
use C4::Auth;
use C4::Output;
use C4::Context;
use HTML::Template::Pro;
use Data::Dumper;
# get the printing settings
my $conf_data = get_label_options();
my $cgi = new CGI;
my $papertype = $conf_data->{'papertype'};
warn $papertype;
if ( $papertype eq "Gaylord8511" ) {
warn "GAY";
print $cgi->redirect("/cgi-bin/koha/barcodes/label-print-pdf.pl");
}
elsif ( $papertype eq "OPUS-Dot Matrix" ) {
warn "OPUS labes";
print $cgi->redirect("/cgi-bin/koha/barcodes/label-print-opus-pdf.pl");
}