Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a hp laserjet (5l series) printer. When I want to print something, nothing happens. When I check the job with the cups web interface, it says it's completed. The printer was detected right by the "probing new hardware" thing at startup and I checked the configuration with cups. Everything seems ok. I'm using fedora core 3. It still works under windows so i don't think the printer is broke.
Anyone who knows what to do about it?
Was the printer working before? Is it a new installation?
I would open the Print Manager first and check that It shows the correct Driver and it is pointing to /dev/lp0 and that CUPS is selected. You could also remove and add it again but here are some things to try first:
Try opening a root terminal and type:
# service cups status
if it's not running:
# /etc/init.d/cupsys start
If it is running:
# /etc/init.d/cupsys restart
Check the status:
# lpstat -v
Then try a test page to see if it sends to /lp0
# cat /usr/share/cups/data/testprint.ps > /dev/lp0
Model: HP LaserJet 5 series - CUPS+Gimp-Print v4.2.7
Print system currently used: CUPS
I've tried the different commands:
1) bash: service: command not found
2)bash: /etc/init.d/cupsys: No such file or directory
3)bash: /etc/init.d/cupsys: No such file or directory
4)device for lp0: parallel:/dev/lp0
5)bash: /dev/lp0: No such device or address
I'm using the foomatic/ljet4 drivers
Hope this information helps someone
I can browse to /dev and lp0 does exist. /etc/init.d/cupsys doesn't exist though /etc/init.d/cups and /etc/init.d/cups-config-daemon do exist.
I did the full fedora core 3 install and I can select CUPS at the printing manager (where it says: "Print system currently used"). When I try to install cups-1.1.22-0.rc1.8.5.i386.rpm it says it's allready installed. So I guess cups is installed.
It all worked fine with red hat 9, why won't it work now
Kencaz, you might be right. I just used rpm. When I use the package manager and I uncheck cups (in printing support) and i try update, it says there are 2 unlocatable packages: cups and /usr/bin/lpr. It gives me: "The following packages could not be found. Installation can not continue untill they are installed."
When I try to install cups (with rpm), it's still telling me that the package is allready installed. How can I fix this?
Well, I would try to un-install using rpm and then install through the package mgr. That is why they make package mgr's so the program can handle the details and you won't have to figure out what goes where.
Well, i uninstalled cups (rpm -evv --nodeps cups). Cups was unchecked at the packagemanager (so i guess the uninstall was succesfull). I installed it again with the package manager. I'm still having the same problem. Did all the tests again with the same results. More ideas?
So far thanks for your help,
P.S.: Maybe something that can help. When I go to the printer configuration tool, it says: "Printer not connected, will retry in 30 seconds". Though, when i boot to windows, it works fine.
This is strange - because this printer has *always* behaved well for me under Linux. (Well, if you choose the wrong driver it does ugly printing, but at least it prints.)
I trust you're choosing the correct port. It seems that CUPS identifies the printer on the port, so it would be hard to stuff up.
Maybe you should check whether the modules for your printer port are loaded. From memory the module is called lp so 'lsmod | grep lp' should tell you that (though they may be compiled into the kernel with Fedora).
Also, you could try going into your BIOS setup and choosing a different protocol for your parallel ports. I remember an old computer that I had which had 2 or 3 different parallel port protocols - maybe choosing a different one will work better under Linux?
I've never had problems with it either (red hat 8 and red hat 9).
When I type "lsmod | grep lp" (as root) it says: "lsmod : command not found".
I've got 4 bios settings for the parallel port: normal, epp, ecp and epp+ecp. Tried them all, not one worked.