LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2008, 08:39 AM   #1
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Rep: Reputation: 15
Help Setting Up a Samba Print Sever


Ok, I would like to make my debian box be a print server to a windows vista laptop which is connected wirelessly. I've tried about five or so guides, but the printer doesn't show up on my vista computer. Can someone please help me or give me a site with a good guide to setting up a samba printing server so that vista can print to it.
 
Old 08-15-2008, 10:27 AM   #2
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Hello, Anyone ?
 
Old 08-15-2008, 10:37 AM   #3
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Can you see the Debian box from the Windows box and vice versa? You need to break it down and make sure the samba setup is working, then work on the printer.
 
Old 08-15-2008, 10:47 AM   #4
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
my windows computer can see the linux one but i dont know how to check on the linux one.
 
Old 08-15-2008, 11:11 AM   #5
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Rep: Reputation: 32
In my experience the best route to be able to print from windows via samba is making cups print raw and installing the correct drivers on the windows machine... however, I've never tried vista with samba.
 
Old 08-15-2008, 11:15 AM   #6
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Quote:
Originally Posted by gNguyen View Post
Ok, I would like to make my debian box be a print server to a windows vista laptop which is connected wirelessly. I've tried about five or so guides, but the printer doesn't show up on my vista computer. Can someone please help me or give me a site with a good guide to setting up a samba printing server so that vista can print to it.
I stopped using Samba as a print server when I got a hardware based one, however, when I was using Samba, it worked flawlessly.

Since I didn't need the machine anymore, I formatted it, otherwise I'd post my smb.conf file for you.

However, I found a good tutorial on how to set up a print server with Samba here:

http://www.linuxforums.org/servers/h...with_cups.html

Hope that helps!

Travis
 
Old 08-15-2008, 12:39 PM   #7
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
It doesn't work. I give up. I'm just gunna move the printer to the vista computer.
 
Old 08-15-2008, 12:42 PM   #8
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Quote:
Originally Posted by gNguyen View Post
It doesn't work. I give up. I'm just gunna move the printer to the vista computer.
Ok, Sorry it didn't work out for you. Feel free to come back and we'll be happy to help if you have any more questions.

Travis
 
Old 08-15-2008, 12:56 PM   #9
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Quote:
Originally Posted by gNguyen View Post
my windows computer can see the linux one but i dont know how to check on the linux one.
Does the printer print from the Linux box?
Can you browse to localhost:631 to see the printer setup?
 
Old 08-15-2008, 01:15 PM   #10
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
I didn't move it yet. The printer works fine from linux. And I can ping the vista computer from linux and vice versa, and linux can connect to localhost:631 and so can vista using http://192.168.1.100:631/
 
Old 08-15-2008, 02:43 PM   #11
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Oh good! I'm so glad you didn't give up! I have the same problem you do. Do you have cups running on the linux box.
I'm running gnu/ubuntu 7.10 -- I can't get samba file sharing to work and I can't get the cups/samba print server to provide print service for the vista box or the xp box

what does your smbd.conf look like?
 
Old 08-15-2008, 02:49 PM   #12
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Code:
[global]
netbios name = linuxprinter
server string = Samba Server
workgroup = nguyen
security = share
encrypt passwords = yes
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
hostname lookups = yes
amdpasswd file = /var/lib/samba/private/smbpasswd
hosts allow = 192.168.1.103 localhost
hosts deny = All
interfaces = lo eth1
bind interfaces only = yes
guest ok = yes
browse list = yes
printcap name = cups
printing = cups
load printers = yes

[public]
path = /home/samba/public
comment = Shared folders
guest ok = yes
create mode = 0766
browseable = yes
public = yes
read only = no

[printers]
comment = All Printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = root 

[EpsonNX400]
comment = Epson NX400
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root
 
Old 08-15-2008, 04:05 PM   #13
short_handle
LQ Newbie
 
Registered: Jun 2005
Distribution: Kubuntu
Posts: 7

Rep: Reputation: 0
Print server option

I know this doesn't answer the question, but I gave up on all that when I got a little one-port print server widget to network my USB printer. I have 3 Linux boxes and a Windows notebook, and no single computer has to be running in order to use the printer from any of the others. Just a thought - it's one less headache.
 
Old 08-15-2008, 06:20 PM   #14
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks I'll probably end up getting something like that.
 
Old 08-15-2008, 07:39 PM   #15
jwillar
LQ Newbie
 
Registered: Oct 2006
Distribution: Kubuntu
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
dito on the print server

I solved my print sharing problems by purchasing a print server that was linux friendly. I opted for one with 2 USB and 1 serial connectors which allowed me to use my old serial laser and a newer USB deskjet. This is the best way to share a printer in my option too.
 
  


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
Problem setting up Samba Print Server on Fedora Core 5 Randvegeta Linux - Server 1 06-14-2008 12:03 PM
Setting up Linux as a print server (NOT SAMBA) evilmonkey Linux - Server 6 05-12-2007 02:59 AM
samba print server for windows network, cannot save printer setting lnthai2002 Linux - Networking 0 07-25-2006 11:38 AM
CUPS Print Sever ProTrooper Linux - Newbie 9 12-30-2005 11:02 AM
Setting up a Samba network Print Server sancho5 Linux - General 1 02-01-2002 04:34 PM


All times are GMT -5. The time now is 10:19 AM.

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