Home » Linux » Programming » Libraries » GD::Barcode 1.15
 
 

GD::Barcode 1.15

SYNOPSIS

ex. CGI

use GD::Barcode::UPCE;

binmode(STDOUT);

print "Content-Type: image/pngnn";

print GD::Barcode->new(EAN13, 123456789012)->plot->png;

with Error Check

my $oGdBar GD::Barcode->new(EAN13, 12345678901);

die $GD::Barcode::errStr unless($oGdBar); #Invalid Length

$oGdBar->plot->png;

GD::Barcode is subclass of GD and allows you to create barcode image with GD. This module based on "Generate Barcode Ver 1.02 By Shisei Hanai 97/08/22".

From 1.14, you can use this module even if no GD (except plot method).

new

$oGdBar GD::Barcode::UPCE->new($sType, $sTxt);

Constructor. Creates GD::Barcode::$sType object for $sTxt.

plot()

$oGd $oGdBar->plot();

creates GD object with barcode image for the $sTxt specified at new method. $iHeight is height of the image. If NoText is 1, the image has no text image of $sTxt.

ex.

my $oGdB GD::Barcode->new(EAN13, 123456789012);

my $oGD $oGdB->plot(NoText=>1, Height => 20);

# $sGD is GD image with Height=>20 pixels, with no text.

barcode()

$sPtn $oGdBar->barcode();

returns barcode pattern in string with and 0. means black, means white.

ex.

my $oGdB GD::Barcode->new(UPCE, 123456789012);

my $sPtn $oGdB->barcode();

# $sPtn ;

$errStr

$GD::Barcode::errStr

has error message.

$text

$oGdBar->{$text}

has barcode text based on $sTxt specified in new method.

 

Details

Publisher: Kawai Takanori
Title: GD::Barcode 1.15
Platform: n/a
License: Perl Artistic License
Price: empty
Size: 0.87 MB
Downloads: 10079
Added: 2007-04-24

Download: GD::Barcode 1.15


Download now

Related software


lisp-cgi-utils 0.10

lisp-cgi-utils is CGI library for Common Lisp. It implements very basic HTTP/CGI interface (sending headers, getting GET/POST and environment variables) and offers tools for easier HTML generation wi

  Post date: 2006-10-20
Size: 0.031 MB
Downloads: 10093

Mac::PropertyList::SAX 0.09

Mac::PropertyList::SAX is Perl module to work with Mac plists at low level (with real XML parsers).

  Post date: 2007-04-28
Size: 0.013 MB
Downloads: 10085

AppFuse 1.9.4

AppFuse project is an application for "kickstarting" webapp development.

  Post date: 2006-11-23
Size: 29.9 MB
Downloads: 10085

PermaBEEP-Java 0.8

PermaBEEP provides complete toolkit for writing applications that use the Blocks Extensible Exchange Protocol (BEEP) for network communications.

  Post date: 2006-08-19
Size: 0.42 MB
Downloads: 10084

GD::Barcode 1.15

SYNOPSIS ex. CGI use GD::Barcode::UPCE; binmode(STDOUT); print "Content-Type: image/pngnn"; print GD::Barcode->new(EAN13, 123456789012)->plot->png; with Error Check my $oGdBar GD::Barc

  Post date: 2007-04-22
Size: 0.87 MB
Downloads: 10079

Hub::Perl::Language 04.00.012

Hub::Perl::Language is Perl module that contains lot of methods. PUBLIC METHODS sizeof Integer size of hashes, arrays, and scalars Usage: sizeof %hash Usage: sizeof @array Usage: sizeof $scalar_

  Post date: 2007-07-09
Size: 0.14 MB
Downloads: 10078

WWW::BF2Player 0.01

WWW::BF2Player is Perl module that can fetch information about game servers from BF2Player.com SYNOPSIS # example 1 use WWW::BF2Player; my $bfp WWW::BF2Player->new; omitted UserId, must set it.

  Post date: 2007-01-01
Size: 0.006 MB
Downloads: 10077

UPS track shipping module for LiteCommerce 1.0

UPS Track shipping module for LiteCommerce provides you with up-to-the-minute shipping status reports to your customers right from within your online store.

  Post date: 2006-01-13
Size: 0.011 MB
Downloads: 10075

Module::AutoINC 0.02

SYNOPSIS perl -MModule::AutoINC < script > ABSTRACT When Module::AutoINC is loaded, it will add itself to @INC and catch any requests for missing resources.

  Post date: 2007-05-23
Size: 0.005 MB
Downloads: 10073

Gtk2::Ex::FormFactory::Intro 0.65

Gtk2::Ex::FormFactory::Intro is an introduction into the FormFactory framework.

  Post date: 2006-07-19
Size: 0.10 MB
Downloads: 10069



Home | Windows | Drivers | Scripts | Mobile | Mac | Linux

Copyright © 2008, Software-Drivers.com