LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-02-2004, 12:18 AM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
Printing on Samba


i'm running a two computer workgroup. computer A has Win XP running with a canon i450 printer.computer B is running slack 9.1 with samba 3.01
i have successfully managed to share and i can see computer b from a but i'm having a really hard time sharing the printer and having it print from computer b. i've installed CUPS on my machine running slack but for some reason its not printing, its not even recognizing the share.
i know i'm doing something wrong, so i anyone could guide me through
the setup i would really appreciate it.
thanks in advance
 
Old 02-02-2004, 01:37 AM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
I had a similar setup but the Windows box had an Epson Stylus C62. What I did is set it up through Mozilla http://localhost:631. But before I did that I ran this command as root:

ln -s `which smbspool` /usr/lib/cups/backend/smb

Those are " ` " the ones located next to the 1 key.
Then in Mozilla select "Windows printer via Samba".
That's how I got it working, hope it helps you out.
 
Old 02-02-2004, 02:15 AM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
i tried to do that, but it comes back with this error message :
"/usr/lib/cups/backend/smb" : File Exists
 
Old 02-02-2004, 03:24 AM   #4
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
The only other thing that I can think of at the moment is to make sure your Windows printer is shared, make sure your /etc/samba/smb.conf is configured right then do a smbclient -L < i.p. or hostname of Windows box>
from your Slackware machine to see if you see the printer. If so you should be able to set it up through localhost:631. Hope you get it working.
 
Old 02-02-2004, 03:13 PM   #5
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
if its possible, can you give me a sample of your smb.conf file.... i'm pretty sure i don't have it setup correctly. i'd really appreciate it. thanks
 
Old 02-03-2004, 03:19 AM   #6
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
I no longer have the same setup, but as I remember the only things I had to change in /etc/samba/smb.conf was the workgroup name and there was a line similar to this:

; printing = bsd

there were a couple other choices too, like lpr, and printcap I think. Anyway, I just uncommented it and changed it to "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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Printing garr0323 Linux - Newbie 1 10-24-2003 06:38 AM
Samba printing leonardox Linux - Networking 1 08-30-2003 11:49 PM
samba printing haydn Linux - Networking 2 07-29-2003 09:18 AM
samba printing bmcneely0 Linux - Networking 14 07-20-2003 07:07 AM
printing + samba? aeshley Linux - Newbie 1 06-22-2002 10:52 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
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