LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-21-2010, 05:45 PM   #1
carllee
LQ Newbie
 
Registered: Jan 2007
Location: Bloomington,IL
Distribution: Mint 18.3 Sarah
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-22-2010, 01:00 PM   #2
t1nm@n
Member
 
Registered: Aug 2009
Location: Trivandrum, Kerala, India.
Distribution: Slackware 14.2 x86_64
Posts: 96
Blog Entries: 3

Rep: Reputation: 25
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!
 
Old 08-23-2010, 03:55 PM   #3
carllee
LQ Newbie
 
Registered: Jan 2007
Location: Bloomington,IL
Distribution: Mint 18.3 Sarah
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 08-23-2010, 09:26 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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.
 
1 members found this post helpful.
Old 08-24-2010, 07:59 PM   #5
carllee
LQ Newbie
 
Registered: Jan 2007
Location: Bloomington,IL
Distribution: Mint 18.3 Sarah
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
10.2 can't modify files on windows share through SMB ajsitch SUSE / openSUSE 2 01-19-2007 08:55 AM
Error Mounting Windows SMB Share plustiber Linux - Networking 1 06-27-2005 12:39 AM
Can't access a smb share from windows digitalspillage Linux - Newbie 2 10-05-2003 09:42 AM
smb windows share need help pissy_pants Linux - Networking 4 09-04-2003 01:37 AM
printing to <SMB Share> win printer bbaley Linux - General 0 05-28-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration