Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2012, 04:26 PM   #1
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Blog Entries: 31

Rep: Reputation: 3
get samba to share printer by cups

Hi, I have samba v3.5 up running already, and I have cups 1.4.6 up running already, I have my printer added to samba and now able to print locally. But I still can't see my printer in the samba shared folder, what configurations am I missing?
Here is my smb.conf file:
	netbios name = SERVER
	server string = SERVER
	interfaces = eth0,
	bind interfaces only = Yes
	security = SHARE
	log file = /var/log/samba
	max log size = 50
	name resolve order = wins hosts lmhosts
	printcap name = /etc/printcap
	dns proxy = No
	idmap config * : backend = tdb
	force user = root
	force group = root
	guest only = Yes
	hosts allow = 192.168.

	comment = main
	path = /mnt/main
	read only = No
	guest ok = Yes

	comment = All Printers
	path = /var/spool/samba
	read only = No
	create mask = 0700
	guest ok = Yes
	printable = Yes
	print ok = Yes
	use client driver = Yes
	browseable = No
Please let me know if any other information is needed.
Old 08-11-2012, 04:51 PM   #2
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 31

Rep: Reputation: 3
got it! printcap name = cups, not the /etc/printcap. I dont understand why this simple info isnt supplied in the samba config notes file by default. Took me so long to find this out.
But another problem I am facing, eventhough i can now see the printer right in the local network machine in win 7. when I try to print or double click on the printer, it asks for the driver, I thought cups is suppose to manage that? why would I need driver on the client side?


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
CUPS: share printer with samba/appsocket rather than ipp Meson Linux - Server 0 09-07-2008 05:56 PM
How to share a printer with KDE samba+cups frenchn00b Linux - Hardware 4 03-11-2008 02:11 AM
Cant share printer with cups The slayer Ubuntu 2 11-25-2007 07:58 AM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 02:56 AM
share name not found Windows Samba printer CUPS jjge Linux - Software 1 08-04-2004 09:14 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 PM.

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
Open Source Consulting | Domain Registration