[SOLVED] Trying to Install SMB printer for windows share
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
After my reinstall of 10.04 I am unable to print to my printer which is on a Windows XP desktop. Always worked before.
I go to System/Admin/Printing. Then search for a network printer using the IP address of my printer. I get the address back showing the printer that I want. I go through the entire install process find the HP printer and then the driver for the model and get to the last step to install it and get this error:
There was an error during the CUPS operation: 'client-error-not-possible'.
1) log as root
2) stop the service ("service cups stop")
3) cd /var/spool/cups (in that directory are the printing works, in
my case there are more than 500 files, and it causes me the "client-
error-not-possible" error.
4) delete all the jobs ("rm -f *") (DELETE ONLY THE FILES, not the
"tmp" directory!)
5) restart the service ("service cups start")
6) print a test.
I tried your solution and it did not work. But I thought of one other thing I did not put in my post.
The menu of available printers on the add printer menu does not list an SMB printer. If I search for a network printer I do get the correct printer listed. I have tried about everything like replacing files with ones from a laptop that prints ok. I don't know if this is relevant not having an SMB printer on the menu. Maybe it is reload time again. I have the current problem because I reinstalled what I thought was a good iso from ubuntu.com.
The smbclient command should tell you how your Linux system is seeing the printer on the Windows computer. When I discovered smbclient, I was able to network my Linux boxes to a printer connected to my XP box.
The help from frankbell was what I needed to finally solve my problem. He included references to samba documentation. It appears that when the package manager for Ubuntu 10.04 is used to install Samba it uses a version of samba client samba4-client along with samba 2:3.4.7. This appears to be the reason I was missing smbclient files. I removed samba4-client and installed samba client 2:3.4.7 and it now works as it should. Prints wireless to the HP printer on my XP Desktop and also accesses the windows XP file share. The smb/windows share option will now show up on the printer install menu. It did not before.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.