Printer sharing in BOSS 3.1
Prathibhab (Talk | contribs) |
Prathibhab (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | Do the following in the computer in which the printer is attached | + | '''Do the following in the computer in which the printer is attached''' |
- | + | check whether samba is installed using synaptic package manager. If it is not installed install it.<br><br> | |
- | + | Open /etc/samba/smb.conf file and edit the following: | |
- | Note: | + | Note: In smb.conf file, you need to change a number of lines.<br> Some of the lines will be commented out with a semicolon (;) in front <br> of them. Note that any lines we change here will need to have the semicolon <br> removed in order to make them active. |
+ | |||
+ | [global]<br> | ||
+ | |||
+ | workgroup = WORKGROUP<br> | ||
+ | interfaces = lo eth1<br> | ||
+ | bind interfaces only = true<br> | ||
+ | |||
+ | [printers]<br> | ||
+ | |||
+ | comment = All Printers<br> | ||
+ | browseable = no<br> | ||
+ | path = /var/spool/samba<br> | ||
+ | printable = yes<br> | ||
+ | guest ok = yes<br> | ||
+ | writable= yes<br> | ||
+ | create mode = 0700<br> | ||
+ | |||
+ | Save your changes to the smb.conf file, and restart Samba with the following command: | ||
+ | |||
+ | sudo /etc/init.d/samba restart | ||
+ | |||
+ | '''At the client computer''' | ||
+ | |||
+ | Goto System -> Administartion-> Printing, select Printer -> Add Printer.<br> | ||
+ | |||
+ | Click Network Printer and select Windows Printer(SMB).<br> | ||
+ | |||
+ | Enter the username and password of the server machine. Then enter the server IP in the Host field, enter the Printer Name and click Forward. | ||
+ | |||
+ | In the next step select the Manufacturer, Model and the driver for the printer and click Apply. |