LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2015, 06:30 PM   #1
harvey-suddarth
LQ Newbie
 
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
Question Sharing Printer to Windows Client


Hi everyone. I'm glad to join the community.

My Desktop is running Ubuntu 14.04 with a Canon MP490 printer connected. I am wanting to share the printer to a Gateway laptop running Windows 7.

The printer prints fine from the desktop. The laptop was able to discover the printer and I installed the drivers. Everything looks normal and like it should work. When I try to print from the laptop it doesn't work. It looks like it is sending the job to the printer then nothing happens.

I have been searching Google but have not come across an answer that has worked. I am a bit lost at this point. Any help would be greatly appreciated.

Here is what my samba configuration looks like:

[global]
workgroup = sandman
server string = UbuntuDesktop
netbios name = srvr1
security = share
map to guest = bad user
name resolve order = bcast host
dns proxy = no
username map = /etc/samba/smbusers
; encrypt passwords = yes
guest ok = yes
; guest account = nobody
printcap name = cups
printing = cups

[Videos]
comment = Videos and Movies
path = /home/harvey/Videos
writeable = yes
; browseable = yes
guest ok = yes

[Public]
comment = Public folder.
path = /home/harvey/Public
writeable = yes
; browseable = yes
guest ok = yes

[Pictures]
comment = Photos
path = /home/harvey/Pictures
writeable = yes
; browseable = yes
guest ok = yes

[Music]
comment = Music
path = /home/harvey/Music
writeable = yes
; browseable = yes
guest ok = yes

[printers]
browseable = yes
printable = yes
public = yes
create mode = 0700
guest only = yes
use client driver = yes
guest account = smbprint
path = /home/smbprint
 
Old 02-21-2015, 09:55 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Where did you get that smb.conf file? Did you keep the original default file?
Does the directory /home/smbprint exist?

Try:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes

I would add a homes shares which will automatically create a shares for all uses to their home directory
[homes]
comment = Home Directories
browseable = no
writable = yes

You should really use security=user and create a samba password via smbpasswd command. You will not be able to use your home directory for guest use without changing its permissions which is not recommended.

Make sure that samba is actually running.
 
  


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
How to share a printer attached to windows xp client from Ubuntu 8.04 client dipakds Linux - Newbie 1 06-15-2009 07:04 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
Printer sharing (windows XP) crissabejon Linux - General 1 05-31-2007 01:39 AM
Sharing Network Printer with Fedora Linux Client. bobby_juji10 Linux - Networking 1 09-21-2005 08:02 AM
Help Needed Network-sharing a thin-client printer ?? asdzxc Debian 1 09-10-2005 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:32 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