Hi you all,
I've one question aboute to Generation of Barcode 39 with GD::Barcode::Code39 module.
I used this script but it doesn't work :
#!/bin/perl -w
use GD::Barcode::Code39;
binmode(STDOUT);
print "Content-Type: image/png\n\n";
print GD::Barcode::Code39->new('*CODE39IMG*')->plot->png;
my $oGdBar = GD::Barcode::Code39->new('*123456789;*');
die $GD::Barcode::Code39::errStr unless($oGdBar); #Invalid Chara
+cters
And I received this error Msg :
Can't locate object method "Small" via package "GD::Font" (perhaps you forgot to load "GD::Font"?) at /opt/perl/lib/site_perl/5.8.0/GD/Barcode/Code39.pm line 111.
My PERL version is v5.8.0 built for PA-RISC1.1-thread-multi
I try to find
GD::Font but I don't founded it.
Any suggestion?
Thanks
giobis
2006-10-25 Retitled by Corion, as per Monastery guidelines
Original title: 'GD-Barcode 39'
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.