Andre_br has asked for the wisdom of the Perl Monks concerning the following question:
I need to print out a barcode image, generated with GD::Barcode, but I need to do it at the end of an html screen, and not as an image-only screen like below.
Is there any way to do it? Eg: this one, as expected, doesn´t work:use GD::Barcode::ITF; binmode(STDOUT); print "Content-Type: image/png\n\n"; print GD::Barcode::ITF->new('1234567890')->plot->png;
I wait for thy help.use GD::Barcode::ITF; print "Content-Type: text/html\n\n"; print "Hello, this is the text of this screen<p>"; print GD::Barcode::ITF->new('1234567890')->plot->png;
Thanks in advance
André
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing image from file, but between html
by pg (Canon) on Aug 29, 2005 at 22:00 UTC | |
by davidrw (Prior) on Aug 29, 2005 at 22:09 UTC | |
by Andre_br (Pilgrim) on Aug 29, 2005 at 22:32 UTC | |
by merlyn (Sage) on Aug 30, 2005 at 17:32 UTC | |
|
Re: Printing image from file, but between html
by sgifford (Prior) on Aug 30, 2005 at 01:10 UTC |