Skip Menu |

This queue is for tickets about the Barcode-Code128 CPAN distribution.

Report information
The Basics
Id: 118304
Status: new
Priority: 0/
Queue: Barcode-Code128

People
Owner: Nobody in particular
Requestors: andrea [...] booktrolls.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.21
Fixed in: (no value)



Subject: Barcode::Code128 does not seem to allow setting sub-optimal barcode encodings
For example: $ $x = Barcode::Code128->new(); $x->encode("8766515EG","C"); $x->barcode() ## # ### #### # # # # ## ## ### # ### # #### ## ### # # ## # ## # # ## # # ## ### # ## $ $x = Barcode::Code128->new(); $x->encode("8766515EG","B"); $x->barcode() ## # ### #### # # # # ## ## ### # # #### ### ## ### # # ## # ## # # # # ## ## ### # ## $ $x = Barcode::Code128->new(); $x->encode("8766515EG","A"); $x->barcode() ## # ### #### # # # # ## ## ### # ### # #### ## ### # # ## # ## # # ## # # ## ### # ## Those all seem to be encoding "876651" as C no matter what I do. I would like the option to force encoding to a less-optimal code format if deemed necessary ( to match a sub-optimal encoding for legacy reasons, to create programming bar-codes for certain scanners, etc... ). Thanks.