LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 08-31-2005, 03:54 PM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Rep: Reputation: 17
Suse Cups - No support to SMB printers


Noon to all

I'm testing Suse 9.3 and got everything set.
What I'm trying to do now is adding a windows printer.
I went through the first screen of CUPS (Name, Location, Description) okay.
When I got to "Select Device", I couldn't find 'smb' (or anything that could be like it), so I picked up anyone.
I added the URI as if it was a smb printer: "smb://...", picked up Make (HP) and the Model (1300 Postscript).
Then I receive a "client-error-not-possible" and the printer is not added.
I download the tarball for CUPS and checked the configure options, but there was nothing like a "samba support".
Before I start compiling things out, is it possible to someone tell me if there's another way around?
 
Old 09-01-2005, 04:16 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I think you need to install the samba-client package with YaST. Then you should find the option "Print via SMB network server" in the printer dialog of YaST.
 
Old 09-01-2005, 05:31 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
I had a problem setting up a printer in SuSE. The reason was that cups runs as user "lp".

To configure the printer, I used the "lppasswd" command to add a user and password. I used my username and password so I wouldn't need to remember yet another password. ( You may need a password that has at least one number and is at least 6 characters long ).

If you have apache2 and cups installed, you could point your web browser to "localhost:631"

I believe that you could add a printer using the web interface also.
 
Old 09-01-2005, 08:04 AM   #4
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Original Poster
Rep: Reputation: 17
Hum, so probably it's a samba config?
I have samba compiled, I'm not using the distro packages.
I'll check the samba then.
 
Old 09-01-2005, 09:38 AM   #5
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Original Poster
Rep: Reputation: 17
Hum, nope, that didn't solve it.
I recompiled SAMBA using --enable-cups (first it complained, then I installed cups-devel and everything went fine).
But nope, CUPS still won't show me smb printers, and error_log will still show me the message: "bad device-uri attribute"
I'm really trying to avoid having to compile CUPS as well. Anyone has any other idea?
 
Old 09-01-2005, 10:33 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
You probably have your reasons not to use the SUSE package, but I think it is worth trying. Maybe the problem is connected to different paths/structure. You only need to install the client package. It could also be a firewall issue. Did you open the netbios port(s)?
 
Old 09-01-2005, 12:35 PM   #7
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Original Poster
Rep: Reputation: 17
Actually if I use the package from the CD, I'll have to go after its source, because I have a patch to be applied to smbspool.c.
Well, I'll see what I can do.
 
Old 09-01-2005, 12:41 PM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Should be no problem. Download the src.rpm, patch and rebuild the rpm. Interestingly, I could not find a separate samba-client.src.rpm. But maybe you wouldn't care anyway.
 
Old 09-02-2005, 08:10 AM   #9
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Original Poster
Rep: Reputation: 17
Okay, no problem at all.
A guy at cups.org gave me the solution.

Just copy or link the smbspool (/usr/local/samba/bin/smbspool) to the cups backend directory with the name of "smb" (/usr/lib/cups/backend/smb) and then restart cups.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
backing up printers in cups GUIPenguin Linux - General 1 06-23-2005 12:39 PM
Is there a guide anywhere that helps set up CUPS printing using SMB printers? Royle Debian 2 02-20-2005 05:32 PM
Suse 9.2 Sharing Printers over local network via CUPS gherikill Suse/Novell 4 01-10-2005 01:50 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Printers and cups Pedroski Linux - Hardware 1 10-05-2003 07:50 PM


All times are GMT -5. The time now is 04:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration