9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Dear readers,
We have a printer problem with a UNIX system.
The OS is Unix IRIX 6.5
We have connected a printerto the system. If we then make a test print everything goes well . (IP printing)
But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
while executing:
printf "%05d\n" 12 32
00012
00032
Similarly i need to get the below outpurs:
###12
###32
12%%%
32%%% (1 Reply)
Discussion started by: pandeesh
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
4. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
5. Shell Programming and Scripting
Hey,
I'm trying to print in HP laserjet 2420 by using the command:
lp -olandscape (file)
For some reason it does not come out as landscape but as portrait.
Help please.
10x.
P.S. I'm using csh (0 Replies)
Discussion started by: Kofiko
0 Replies
6. UNIX for Dummies Questions & Answers
I would like to set up a local printer(actually a Brother Fax machine) to my Compaq Tru64 Unix computer but I dont know how. I've tried the SAM command with no success. The computer says does no recognize command. Please help.... (1 Reply)
Discussion started by: donnieb79
1 Replies
7. UNIX for Dummies Questions & Answers
Ok, I found this
http://docs.sun.com/?q=netstandard&p=/doc/805-7229/6j6q8svb1&a=view
and I am trying to follow the section labled
How To Add A Network Printer Using LP Commands
But I just can't get these things to print (SUN hardware).
We have an NT print server or I could print directly... (1 Reply)
Discussion started by: bbrandeb49
1 Replies
8. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
9. UNIX for Dummies Questions & Answers
Do all UNIX systems have the ability to print to an ASCII file? If so, is this a common thing to do, for reports or other output?
Thank you for your response. (3 Replies)
Discussion started by: SYMTRAX
3 Replies
Barcode::UPCE(3) User Contributed Perl Documentation Barcode::UPCE(3)
NAME
GD::Barcode::UPCE - Create UPC-E barcode image with GD
SYNOPSIS
ex. CGI
use GD::Barcode::UPCE;
binmode(STDOUT);
print "Content-Type: image/png
";
print GD::Barcode::UPCE->new('123456')->plot->png;
with Error Check
my $oGdBar = GD::Barcode::UPCE->new('123456789');
die $GD::Barcode::UPCE::errStr unless($oGdBar); #Invalid Length
DESCRIPTION
GD::Barcode::UPCE is a subclass of GD::Barcode and allows you to create UPC-E barcode image with GD. This module based on "Generate
Barcode Ver 1.02 By Shisei Hanai 97/08/22".
new
$oGdBar = GD::Barcode::UPCE->new($sTxt);
Constructor. Creates a GD::Barcode::UPCE object for $sTxt. $sTxt has 6 or 7 or 8 numeric characters([0-9]). If $sTxt has 6 characters,
this module adds '0' at the front of $sTxt. and calculates CD for you. If $sTxt has 7 characters, this module calaculates CD for you.
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::UPCE->new('123456');
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', 'G' and '0'. '1' means black, 'G' also means black but little bit long, '0' means white.
ex.
my $oGdB = GD::Barcode::UPCE->new('123456');
my $sPtn = $oGdB->barcode();
# $sPtn = '';
$errStr
$GD::Barcode::UPCE::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::UPCE 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.16.3 2003-05-29 Barcode::UPCE(3)