LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sharing printer with windows laptop (https://www.linuxquestions.org/questions/linux-networking-3/sharing-printer-with-windows-laptop-413559/)

capnp72 02-09-2006 03:10 PM

sharing printer with windows laptop
 
I have a DSL 4 port wired router with a desktop (suse 10) and a laptop (windows xp). My printer is connected to my desktop pc. I would like to be able to print from the laptop through my desktop. I thought if I had samba configured correctly, it would work but it doesn't. Any help would be greatly appreciated.

Brian1 02-09-2006 04:16 PM

Is there a firewall on the PC blocking samba connections?
I believe default samba config setups all printers to share, could be wrong.
Should not matter but have you setup users under samba and thier passwords?

capnp72 02-09-2006 06:50 PM

I believe I have but how can I check to make sure they are there?

amosf 02-09-2006 07:01 PM

check the /etc/samba/smb.conf and see what it says...

capnp72 02-09-2006 08:19 PM

This is what's in my smb.conf file for users:

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

Am I missing anything? Or is there somewhere else I need to look?

amosf 02-09-2006 08:47 PM

Should be a printers section...

capnp72 02-10-2006 12:33 PM

Here's the printer section

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

Look ok?

soulestream 02-10-2006 01:00 PM

Think im going to put this link in my sig.

samba printing bites. its too picky and a pita sometimes.

try using IPP. Its fully supported by linux and XP. Usually take me about 5 minutes to setup once cups can print locally from the "server" machine. Plus you can then open a browser on your XP machine use http://ipofserver:631 and adjust printer settings without going back to the desktop.



http://www.gentoo.org/doc/en/printing-howto.xml

start around the "configuration" part if you can already print to your printer from the desktop



soule

capnp72 02-10-2006 04:00 PM

I tried to go to http://192.168.1.2:631 on my laptop (windows) and it says "page not found". I opened port 631 in my firewall but it didn't help. What else can I do?

soulestream 02-10-2006 10:25 PM

if you followed the configuration correctly, the only other thing you might have to do is add your XP machine in /etc/hosts.allow

and when you say you opened port 631 in your firewall, im assuming you mean on the desktop machine.

If you opened it on your router, you made big bad mistake.

soule


All times are GMT -5. The time now is 06:03 PM.