LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to Install SMB printer for windows share (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-smb-printer-for-windows-share-827705/)

carllee 08-21-2010 05:45 PM

Trying to Install SMB printer for windows share
 
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'.

Any help will be greatly appreciated.

t1nm@n 08-22-2010 01:00 PM

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.

GOOD LUCK!

carllee 08-23-2010 03:55 PM

Thanks t1nm@n

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.


Any thoughts anyone?

frankbell 08-23-2010 09:26 PM

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.

carllee 08-24-2010 07:59 PM

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.


All times are GMT -5. The time now is 09:52 AM.