Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Need some help with GD::Barcode::UPCE module

by Khen1950fx (Canon)
on Oct 08, 2010 at 23:31 UTC ( [id://864294]=note: print w/replies, xml ) Need Help??


in reply to Need some help with GD::Barcode::UPCE module

This works for 8 digits:
#!/usr/bin/perl use strict; use warnings; use GD::Barcode::UPCE; my $oGdBar; print "=======================\nUPCE: 1234568"; $oGdBar = GD::Barcode->new( 'UPCE', '1234568' ); print "PTN:", $oGdBar->{text}, ':', $oGdBar->barcode(), "\n"; open OUT, '>', 'UPCE.png'; binmode OUT; print OUT $oGdBar->plot->png; close OUT; undef $oGdBar;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://864294]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-18 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found