Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

barcode 128a

by djbryson (Beadle)
on Oct 09, 2009 at 21:11 UTC ( #800382=perlquestion: print w/replies, xml ) Need Help??

djbryson has asked for the wisdom of the Perl Monks concerning the following question:

Will barcode::Code128 do 128a, yes or no? Thanks I need to create a barcode 128a graphic. I read about the barcode 128 module, but I'm confused as to whether it can do it. It says I can specify CodeA, but some scanners may not be able to read it. Is CodeA what I want for barcode 128a? Or is CodeA something different. I need it to work with scanners also. If barcode 128 can't do 128a, what module can? Thanks

Replies are listed 'Best First'.
Re: barcode 128a
by nedals (Deacon) on Oct 09, 2009 at 22:54 UTC
    use Barcode::Code128;

    You will also need the module installed

      Will barcode::Code128 do 128a, yes or no? Thanks
Re: barcode 128a
by GrandFather (Saint) on Oct 10, 2009 at 00:52 UTC

    Code_128#Subtypes may help. Code 128 is a commonly used general purpose code. Code 128a is, in effect, a subset of Code 128 where the A character set is accessed using a 'shift' character.

    True laziness is hard work
Re: barcode 128a
by biohisham (Priest) on Oct 10, 2009 at 06:52 UTC
    There's this module Imager::QRCode which generates two dimensional QR codes, I am not aware if it has code 128 capabilities for one dimensional barcodes but it seems easy and so intuitive to use, you may need to install Getopt::Std, check this overview and the CPAN.

    For general scanning of barcodes there's an open-source library in java called ZXing which has support for the code 128 among others.

    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
Re: barcode 128a
by hesco (Deacon) on Oct 09, 2009 at 22:22 UTC
    I know nothing of barcodes, but I bet an examination of perldoc for modules listed at: would likely be helpful.

    Good luck.

    -- Hugh

    if( $lal && $lol ) { $life++; }
    if( $insurance->rationing() ) { $people->die(); }
Re: barcode 128a
by dkasak (Initiate) on Oct 11, 2009 at 11:38 UTC
    My PDF::ReportWriter can print type 128 barcodes. It's available on cpan or at: ( click 'reports' ).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://800382]
Approved by AnomalousMonk
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2023-06-09 00:50 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (35 votes). Check out past polls.