8 More Discussions You Might Find Interesting
1. Ubuntu
Hello,
I'm facing some problems with a barcode scanner from Cygnal Inc, model Sweda SL-20. Info from lsusb -v:
Bus 003 Device 003: ID 10c4:ff11 Cygnal Integrated Products, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
... (4 Replies)
Discussion started by: minharojr
4 Replies
2. Solaris
I have a serial barcode reader which I attached to my Solaris 10 workstation. I can see the barcode scanned data appearing when I do a tip hardwire.
Question is how can I enable the data to appear in command prompt or any text editor programs?
Thanks for the help (3 Replies)
Discussion started by: timtan169
3 Replies
3. Linux
please (1 Reply)
Discussion started by: gongweixiang
1 Replies
4. Debian
We use the debian 4.0 Linux with the wine 1.0. When we run our application on this platform, there is a problem:
The Barcode can't be displayed correctly, but occurs some Garbled. The font we use is “Carolinabar-B39-25F2”. But when we install the wine-0.9.25 instead of wine-1.0, the barcode can... (1 Reply)
Discussion started by: gongweixiang
1 Replies
5. UNIX for Dummies Questions & Answers
I have been asked to upload a font file for barcodes (3of9.ttf) to a unix server so that users of Oracle Reports on Oracle 10g can pick up this font. Where should this file be placed? (0 Replies)
Discussion started by: Chantho
0 Replies
6. UNIX for Advanced & Expert Users
Hi all , I'm trying to read from a USB Barcode-Reader "LX-250" (on Unix) ,
I've written the following code ...
But the program always failes on : ioctl call
Please if anyone has any ideas on what causes it to fail ?
Or how should I try to access the Barcode Device ?
Your help is very... (2 Replies)
Discussion started by: yuval
2 Replies
7. UNIX for Advanced & Expert Users
How can you pull up a list of print drivers loaded at the Unix level? I am trying to get an HP LaserJet 2300 using the PCL5e driver to print barcode labels. I believe the PCL5e driver needs to be loaded somewhere at the Unix level but am at a loss as to where. Thanks (2 Replies)
Discussion started by: llepley
2 Replies
8. UNIX for Advanced & Expert Users
i need help regarding barcode printing.
previously running foxpro under windows, im able to print barcode by opening the com port directly to the printer (Epson)
now, with unix environment, using Recital, im unable to print barcode to the printer directly. pls help.
barcode format required -... (6 Replies)
Discussion started by: khe_li
6 Replies
Package::Generator(3) User Contributed Perl Documentation Package::Generator(3)
NAME
Package::Generator - generate new packages quickly and easily
VERSION
version 0.103
SYNOPSIS
use Package::Generator;
my $package = Package::Generator->new_package;
...
DESCRIPTION
This module lets you quickly and easily construct new packages. It gives them unused names and sets up their package data, if provided.
INTERFACE
new_package
my $package = Package::Generator->new_package(\%arg);
This returns the newly generated package. It can be called with no arguments, in which case it just returns the name of a pristene
package. The "base" argument can be provided to generate the package under an existing namespace. A "make_unique" argument can also be
provided; it must be a coderef which will be passed the base package name and returns a unique package name under the base name.
A "data" argument may be passed as a reference to an array of pairs. These pairs will be used to set up the data in the generated package.
For example, the following call will create a package with a $foo set to 1 and a @foo set to the first ten counting numbers.
my $package = Package::Generator->new_package({
data => [
foo => 1,
foo => [ 1 .. 10 ],
]
});
For convenience, "isa" and "version" arguments may be passed to "new_package". They will set up @ISA, $VERSION, or &VERSION, as
appropriate. If a single scalar value is passed as the "isa" argument, it will be used as the only value to assign to @ISA. (That is, it
will not cause $ISA to be assigned; that wouldn't be very helpful.)
assign_symbols
Package::Generator->assign_symbols($package, @key_value_pairs);
This routine is used by "new_package" to set up the data in a package.
package_exists
... if Package::Generator->package_exists($package);
This method returns true if something has already created a symbol table for the named package. This is equivalent to:
... if defined *{$package . '::'};
It's just a little less voodoo-y.
AUTHOR
Ricardo SIGNES, "<rjbs@cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-package-generator@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. I
will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT
Copyright 2006 Ricardo Signes, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2009-07-09 Package::Generator(3)