https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39113
Bug ID: 39113
Summary: Support Code 128 barcodes
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Label/patron card printing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
As we know, Koha doesn't yet support Code128B. It seems the
libbarcode-code128-perl dependency package is used only for
OPACVirtualCardBarcode, where is an option.
I could generate PNG (sadly no SVG) barcodes by naively tweaking `svc/barcode`:
use Barcode::Code128;
my %type_mapping = (
Code128b => 1,
);
eval {
if ( $type eq "Code128b") {
my $code = new Barcode::Code128;
$code->option("height", $height);
$code->option("show_text", !$notext);
$image = $code->png($barcode);
}
};
And ./cgi-bin/koha/svc/barcode?barcode=3721M&type=Code128b, but for some reason
it fails (error 500) with some barcodes.
Original post:
https://www.mail-archive.com/[email protected]/msg14428.html
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/