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 am using RedHat 9 and I have 3 computers depending on the same printer (it's a HP LaserJet 4). I am using CUPS and can print everything perfectly in the computer which is functioning as the printer server (to which the printer is directly attached). So printing to a local printer is ok. What I am having troubles with is printing from the clients. I cannot print from the other 2 computers on which I try to add the printer as a remote printer. Here is what I am doing:
I add the remote printer on the client computers using:
Then I go to the server and create a file /etc/xinetd.d/printer containing the following:
socket_type = stream
protocol = tcp
wait = no
user = lp
server = /usr/lib/cups/daemon/cups-lpd
I also modify the cups.conf file on /etc/cups (on the server) by uncommenting the following lines
Deny From All
Allow From 127.0.0.1
Allow From nameof2ndcomputer.domain.edu
Allow From nameof3rdcomputer.domain.edu
Ok, this is it for the server. Now, on each of the other 2 computers (clients) I modify the cups.conf file by uncommenting the following lines
But when I type lpq on the 2 clients I get an error message from one of them saying:
Printer 'lp@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
I get no error from the second client, but it sends the jobs to print to the lp printer as if it were a local printer, not a remote one. Of course, nothing prints, for there is no local printer on that machine! It was suppose to send it to the remote printer!
Ok, I am confused. I am doing the same thing in both clients yet both of them are trying to do different things.
How can I fix this mess?
I need to get those client computers to print!
Can someone help me?
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.