01-21-2008
Setup a printer on Linux from scratch
I am a beginner in Unix.
I have redhat linux running in a dell work station.
my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name?
my printer is HP laserjet connected to network
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, not entirely sure if this should be here or IP networking for dummies...
I am trying to set up a new printer remotely (large office). The people at the other end have no problems printing to it from a Microsoft environment (Word, Excel, etc). However, they are unable to print to it from Unix... (4 Replies)
Discussion started by: Ypnos
4 Replies
2. Linux
LFS (Linux From Scrath) it's tools for make own distribution.
U know how create own distribution ??
thanks
cYa (2 Replies)
Discussion started by: kezzol
2 Replies
3. Solaris
How do you add a HP network printer on a Sun Solaris Unix box? I have the IP address of the printer. I try using the admintool tool, but am confusing about setup the printer to connect to the IP address... (4 Replies)
Discussion started by: racquetbal
4 Replies
4. HP-UX
We have several printers setup to send the print file to a specific IP address and place in a specific folder based on printer selection (this is a Win2000 Server). The issue we are having is before sending the file, I do a lpstat for the printer and it shows ready and waiting. We send the job to... (4 Replies)
Discussion started by: kurt.renn@rmsna
4 Replies
5. UNIX for Dummies Questions & Answers
I am a beginner in Unix.
I have redhat linux running in a dell work station.
my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name?
my printer is HP laserjet connected to network
Edit/Delete Message (0 Replies)
Discussion started by: docaia
0 Replies
6. UNIX Desktop Questions & Answers
trying to get my laserjet to print under FC5. Got APSFILTER; what to answer to question 'parallel or serial printer port when it is USB? Do I need
an updated filter software? I tried 'parallel', get 'permission denied when I
try lp or lpr command- thanks- Marshall (2 Replies)
Discussion started by: blann
2 Replies
7. AIX
So I've got this asc file that someone sent me for setting up a Zebra printer on AIX.
When I use smit or the command line I get this error when I try to setup the printer up:
File /usr/lib/lpd/pio/predef/master does not exist.
The master file is there. This only happens when I setup a... (2 Replies)
Discussion started by: Hurmoth
2 Replies
8. Linux
I'm so frustrated.
I have almost no experience with setting up printers and networking through Linux. That being said, I need some help. In fact, I don't even know if this setup is possible, and for all I know, I might need a Window's solution.
I'm a hardcore Linux guy, so talk to me that... (0 Replies)
Discussion started by: drewrockshard
0 Replies
9. Red Hat
I am a linux newbie who is in over his head.... We have a 3rd party company hosting our servers and they are running RHEL 4 (actaully is is OEL, but Oracle just rebranded RH) they installed a bunch of printers on the servers there. Our application prints but the formatt is off. When we had the... (0 Replies)
Discussion started by: jayjabour
0 Replies
10. Hardware
Hi,
I have set up an HP printer, model 2300, on an Integrity server sunning on HP-Ux B.11.31 using the Jetdirect Printer Installer For Unix, version E.10.34.
This particular printer is printing the same job multiple times and I cannot figur out why that is.
Is ther perhaps a flag in the... (1 Reply)
Discussion started by: Koketso
1 Replies
LEARN ABOUT DEBIAN
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)
NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)