Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Sharing Printer to Windows Client
harveysuddarth
post Feb 20 2015, 01:25 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 20-February 15
Member No.: 18,836



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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Feb 21 2015, 03:43 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Where did you get that smb.conf file? Did you keep the original default file? The default printer share but you can change browseable and guest to yes if desired.

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
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.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 11:29 PM