Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-19-2005, 09:36 AM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
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!
Old 08-19-2005, 09:54 AM   #2
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
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...

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

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

Last edited by Netizen; 08-19-2005 at 09:57 AM.


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
Share Printer With Samba... Help gabriellai Linux - Software 7 06-15-2005 02:44 PM
Samba won't share printer ni0wn Slackware 10 11-17-2004 03:00 PM
samba printer share chongluo Linux - Newbie 4 10-12-2004 09:52 AM
Samba/Printer share issues.. rusium Linux - General 1 06-02-2003 01:37 AM
Samba Printer Share vwhk Linux - Software 3 05-23-2003 01:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration