10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear Gurus,
I'm getting a bunch of print spool files in pcl format.
I need to edit them moving graphics to i.e. right to make room for barcode stickers.
I'm trying to run a script in AIX 7.1.0.0 to edit some pcl pointer positions to the right. i.e. change p1018X to p1818X.
Piece of cake.... (11 Replies)
Discussion started by: emare
11 Replies
2. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
3. Shell Programming and Scripting
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies
4. UNIX for Dummies Questions & Answers
I am using grep to match a pattern, but the output is strange.
$ grep -r -o "pattern" *
Gives me:
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
To find the lines before/after, I then have to use the following on each file:
$ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies
5. Programming
I am trying to add some variable print to a list of pcl files within a folder.
Am doing some programming within perl, bash and some other scripts.
(Open to a format and language).
I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (2 Replies)
Discussion started by: mach1
2 Replies
6. Shell Programming and Scripting
I am trying to add some variable print to a list of pcl files within a folder.
Am doing some programming within perl, bash and some other scripts.
(Open to a format and language).
I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (1 Reply)
Discussion started by: mach1
1 Replies
7. UNIX for Dummies Questions & Answers
table.ubbfoot {background-color="#9999ff"} td.ubbfoot1 {font-size=8pt; font-family=arial,helvietica,swiss; color="#000000";} td.ubbfoot2 {font-size=8pt; font-family=arial,helvietica,swiss; color="#ffffff";} hello,
i want to create PCL Duplex Output (to print) from a pdf File.
i uses itanium (64)... (0 Replies)
Discussion started by: chzi
0 Replies
8. AIX
I need to conver a PCL or PDF file to text in AIX, and I donīt know how. (0 Replies)
Discussion started by: 10789
0 Replies
9. IP Networking
I am wanting to print a file directly from UNIX to a RICOH Aficio 3245C PCL 6. I have installed CUPS and setup the printer as a Local Raw Printer (LRP). I am able to print to other printers :) but Ricoh requires a validation name & code to print:mad:. How do I provide the name and code (password)?... (0 Replies)
Discussion started by: stewarr
0 Replies
10. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
Barcode::IATA2of5(3pm) User Contributed Perl Documentation Barcode::IATA2of5(3pm)
NAME
GD::Barcode::IATA2of5 - Create IATA2of5 barcode image with GD
SYNOPSIS
ex. CGI
use GD::Barcode::IATA2of5;
binmode(STDOUT);
print "Content-Type: image/png
";
print GD::Barcode::IATA2of5->new('1234567890')->plot->png;
with Error Check
my $oGdBar = GD::Barcode::IATA2of5->new('A12345678');
die $GD::Barcode::IATA2of5::errStr unless($oGdBar); #Invalid Characters
$oGdBar->plot->png;
DESCRIPTION
GD::Barcode::IATA2of5 is a subclass of GD::Barcode and allows you to create IATA2of5 barcode image with GD.
new
$oGdBar = GD::Barcode::IATA2of5->new($sTxt);
Constructor. Creates a GD::Barcode::IATA2of5 object for $sTxt. $sTxt has numeric characters([0-9]).
plot()
$oGd = $oGdBar->plot([Height => $iHeight, NoText => 0 | 1]);
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::IATA2of5->new('12345678');
my $oGD = $oGdB->plot(NoText=>1, Height => 20);
# $sGD is a GD image with Height=>20 pixels, with no text.
barcode()
$sPtn = $oGdBar->barcode();
returns a barcode pattern in string with '1' and '0'. '1' means black, '0' means white.
ex.
my $oGdB = GD::Barcode::IATA2of5->new('12345678');
my $sPtn = $oGdB->barcode();
$errStr
$GD::Barcode::IATA2of5::errStr
has error message.
$text
$oGdBar->{$text}
has barcode text based on $sTxt specified in new method.
AUTHOR
Kawai Takanori GCD00051@nifty.ne.jp
COPYRIGHT
The GD::Barocde::IATA2of5 module is Copyright (c) 2000 Kawai Takanori. Japan. All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
SEE ALSO
GD::Barcode
perl v5.12.3 2003-05-29 Barcode::IATA2of5(3pm)