You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.5 KiB

layout status published title author author_login author_email wordpress_id wordpress_url date date_gmt categories tags
post publish true Share Printer from Linux box to Windows [{display_name sipp11} {login sipp11} {email sipp11@gmail.com} {url }] sipp11 sipp11@gmail.com 880 http://blog.10ninox.com/?p=880 2013-10-22 10:37:56 +0700 2013-10-22 03:37:56 +0700 [linux microsoft] [printer cups samba]

Of course, I know it needed samba, but I had difficulty sharing one to Windows PC which I didn't really get into much since the day I moved away from Windows. This was what I did to get it work.

$ /etc/samba/smb.conf

Find these lines and uncomment them; if you can't find, type.

printcap name = cups
printing = cups

[printers] section should look similar to this

[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
guest ok = yes
create mask = 0700
use client driver = yes
path = /tmp

Then you have to restart samba.

$ sudo service smbd restart

For some, you might have to use samba instead of smbd. That's varied by distros. However, after adding printer to your Windows box, you should be able to print. I find it's easier to navigate to \\linux-box-name in file explorer. Find printer there, then right-click to connect and add there. Add printer via Devices and Printer and auto discovery thing isn't impressed me 99% of the time.