rilpoint_mw113

Support

(Blanked the page)
Line 1: Line 1:
 +
----
 +
'''Samba Configuration'''
 +
 +
'''Printer sharing with windows'''
 +
 +
#Install samba from boss repository
 +
#open smb.conf file available in /etc/samba/smb.conf
 +
#Edit the following lines and if commented remove comments.And if not available add the line
 +
 +
 +
[global]
 +
 +
netbios name = my_server  <br> 
 +
wins support = yes      <br>           
 +
workgroup = my_workgroup  <br>
 +
load printers = yes <br>  
 +
printing = cups <br>    
 +
printcap name = cups <br>    
 +
 +
 +
[shared_folder] <br>   
 +
 +
path = /shared_folder <br>
 +
comment = Shared Directories<br>
 +
browseable = yes<br>
 +
writable = yes<br>
 +
 +
 +
[printers]<br>
 +
 +
 +
guest ok = yes<br>
 +
print command = lpr-cups -P %p %s<br>
 +
use client driver = yes<br>
 +
 +
 +
 +
'''Save the file'''
 +
 +
Next in terminal give
 +
 +
/etc/init.d/samba restart
 +
 +
 +
<nowiki>***Connecting printer*** </nowiki>
 +
 +
Connect the printer
 +
 +
Go to '''Desktop-->Administration-->Printer'''
 +
 +
double '''click the new printer icon''' to add a printer
 +
 +
Select the '''network printer''' option and select the '''windows
 +
printer(SMB)''' <br>
 +
 +
as soon as you click on windows printer(SMB) option it will go on asking for username and passwd for all workgroups.So you have to go on clicking cancel until you get your workgroup name that you gave in the file so that you can enter your username and password.<br>
 +
 +
In Hosts option click on the drop down list and you will find your "netbios name" showing up ,"netbios name" as you might have given in the file.<br> In the Printer option select the drop down list and you will find the name of the printer connected to your machine.This may take some time to show up your printer.<br>
 +
 +
click forward and select the type of printer ie "HP" etc. and its driver and apply.Now your printer is in the network.
 +
 +
''' Now go to a windows machine'''
 +
         
 +
Right click on “ My computer “ properties -> computer name , click the button change (near to join a domian )
 +
Member of Workgroup --> choose your workgroup.
 +
 +
Now the system ask you to restart , so restart it & do the following step.<br> select My Network Places When you go to the respective domain you can see your workgroup name that you gave in the above file.<br>
 +
 +
when you double click it will ask you username and password. <br>
 +
 +
When you press enter after giving password you will find all your shared files and folders and the printer that is connected to your BOSS machine getting shared.
 +
 +
For printing to the printer connected to your BOSS machine just double click on the printer name and it asks to install driver
 +
 +
this will open a window and you need to select the printer name and its equivalent driver if not exact and click ok
 +
 +
This will install the driver in your windows machine,for the printer connected to your Linux machine.
 +
 +
For testing open a file.Click on print and select the shared printer name among various options.and given print.

Revision as of 11:23, 9 September 2010