LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Do I need SAMBA to share a local printer? (https://www.linuxquestions.org/questions/linux-newbie-8/do-i-need-samba-to-share-a-local-printer-354867/)

peliot 08-19-2005 09:36 AM

Do I need SAMBA to share a local printer?
 
I have two computers on a home wireless network. One is running Ubuntu, the other WinXP. The linux machine has a local printer attached to it (which works fine for printing from that computer). I want to be able to print from teh windows machine without disconnecting the printer from the linux machine. I have looked on the web in various places and seen conflicting views on how best to do this. So my question is, do I need to install SAMBA on the linux machine to share the printer or can I do it with changes to the cupsd.conf file (as some sources I've read seem to suggest)?
I tried modifying cupsd.conf to listen on Port 631 (not just local loopback), and to allow connections from 192.168.1.* and that didnt work. But I thought I'd ask before I went to the trouble of setting up SAMBA (which I've never done before).

Thanks in advance for any tips!
-P

Netizen 08-19-2005 09:54 AM

Yes, I believe you will need to install samba if you want to share the printer.

Then put smething like this in your smb.conf file if it not already...

Code:

# add to [General] section:
  printcap name = cups
  printing = cups
  security = share

# Add to share section
[printers]
  browseable = yes
  printable = yes
  public = yes
  create mode = 0700
  guest only = yes
  use client driver = yes
  path = /tmp



All times are GMT -5. The time now is 01:22 AM.