Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently acquired a Epson CX8400 & would like to connect it to my Arch Linux server in my office via USB. Both my wife and I use our laptops on the same network as the Arch Linux server and we use it as a file server (NFS & CIFS) so I really would like us to both be able to print to the Epson from both our laptops without having to directly connect it to our machines via USB.
Does anyone have any recommendations on how I can achieve what I am looking to do?
I did try CUPS on my Debian/Lenny print server. I can print fine from the server itself - the test page pops out quite happily.
However trying to get any other machine to print to this printer (just a plain old HP DeskJet 810C - nothing particularly special) is like a nightmare. A got a nice friendly error message: "client-error-not-found" but I'm not really sure what it means? I guess it means I didn't get an error - well that's downright friendly of CUPS to tell me that.
I can install and configure web servers, SQL databases, samba to access my Vista machine (yep - no trouble at all), I even got Skype working with my logitech headset and ringing the PC speakers. I even managed to get Ekiga to handle my VOIP calls. I got backups working, IDE, php, and Putty. But do you think I can get CUPS to share a little of DeskJet.
I should be patient though - I mean this is all relatively new technology, we've only had the DeskJets around for 10-12 years, and people have only been printing from computers for 20-30 years, and Linux itself is only a trifling 30 years old - I can understand that I probably need to wait for these applications to mature to become more stable and robust. Probably best if I just get out my old typewriter and stop wasting so much paper. Better for the environment too.
Do you have a printers section in your smb.conf file? I assume that samba server is installed and running. samba will automatically create shares for all printers. Install the drivers on the windows PCs and use the wizard to add the printer.
You might need to configure the cups.conf to allow other linux computers access. Once this is accomplished then your other computers (with cups running) will automatically add the servers printers.
If the laptops are running Linux, then setup the CUPS server on your Arch Linux server to allow printer sharing. http://localhost:631/help/sharing.ht...#SERVER_CONFIG
If you are running a firewall on your server, you will need to allow both TCP and UDP traffic on the default CUPS port 631.
Okay - the message isn't getting through - you guys are all far too literal....
CUPS is not supporting the configuration of printer sharing adequately. If CUPS is purporting to manage printers it should handle all of the configuration necessary otherwise it's a waste of time piece of software doing a half baked job. I'm guessing since the client in this case is a Vista machine there was probably some Samba config necessary. My point is CUPS should be asking if the client is a Windows machine (or a Mac or an iPhone or whatever) and then check to see all of the necessary configuration is in place.
Similarly CUPS should understand special printer requirements also... there was one website I found where somebody had installed HPLIP in order to get their printer sharing and working. Again CUPS didn't tell me anything about this.
I'm sure CUPS is a good piece of software for doing what it's doing. But if it wants to be great it has to start being intelligent and consider other applications that may or may not be required.
Please don't try and fix my problem - I'm going to save myself hours and buy one of those network printer sharing boxes so that all of my computers can print directly to the printer without any sharing required.
I'm sure CUPS is a good piece of software for doing what it's doing. But if it wants to be great it has to start being intelligent and consider other applications that may or may not be required.
I guess since it is open source you can do what ever you want to do with it I wish you luck.
The world would be better with out Microsoft.
My Murray, aren't we the sarcastic one! A pity that wit cannot be used to understand the problem instead.
Your problem is not with CUPS but with Samba. I have had Windows machines being able to add network printers using the Add Printer wizard for years. It does take some effort to configure CUPS and Samba to work together though.
The process is explained in full detail in the Samba documentation that I linked.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
another option i've used is a cups only option
if you have CUPS running on your computer you should be able to point your web browser (on the machine with the printer attached) at http://localhost:631/admin
check 'Share printers connected to this system' then 'Allow printing from the Internet', when asked type in your admin password
This was exactly what I thought too, and I did everything you suggested, then I got that really cool error message: "client-error-not-found" Don't you just love that one!
To everyone who is still reading...
I've spared no expense to purchase a D-Link DP-311P - a wireless print server that will plug directly into the printer and share it on the TCP/IP network - $20 on ebay. It comes with all the instructions to network with Windows but none for Linux - I think I can probably get it working though. So... my problem with sharing printers to Windows machines is now solved!!!
I would like to take this opportunity to thank you for reading my posts and I hope they made you laugh, even just a little.
I can install and configure web servers, SQL databases, samba to access my Vista machine (yep - no trouble at all), I even got Skype working with my logitech headset and ringing the PC speakers. I even managed to get Ekiga to handle my VOIP calls. I got backups working, IDE, php, and Putty. But do you think I can get CUPS to share a little of DeskJet.
I concur and have given up trying to print on a WXP-attached printer via Samba because it was taking too long to justify the desired benefit.
Last edited by catkin; 12-02-2010 at 11:56 PM.
Reason: potential -> desired
It would be nice if it did but it doesn't; like it or not we start from the current situation and it is open to all of us (as already pointed out) to change it ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.