LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-19-2005, 08:36 AM   #1
peliot
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!
-P
 
Old 08-19-2005, 08:54 AM   #2
Netizen
Member
 
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...

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration