Monday, November 9, 2015

Using windows printer via Solaris 11

We intended to print documents from Solaris server to a printer locally connected to windows machine. Below is the procedure that was followed.


Install samba service. 
create a smb.conf file. 
Start samba service. 
Configure printer in solaris which was shared in windows with the domain user name and password.

 Below are the simple steps that we followed in Solaris.

root@testsrv:~#pkg install samba
root@testsrv:~# svcs -a | grep samba disabled 11:14:22 svc:/network/samba:default
root@testsrv:~# svcadm enable samba
root@testsrv:~# svcs -a | grep samba maintenance 11:21:43 svc:/network/samba:default root@testsrv:~# svcs -a | grep samba maintenance 11:21:43 svc:/network/samba:default root@testsrv:~# cd /etc/samba root@testsrv:/etc/samba# ls private smb.conf-example root@testsrv:/etc/samba# ls private smb.conf-example
root@testsrv:/etc/samba# cp smb.conf-example smb.conf
root@testsrv:/etc/samba# ls private smb.conf smb.conf-example
root@testsrv:/etc/samba# svcadm clear samba
root@testsrv:/etc/samba# svcs -a | grep samba online 11:23:34 svc:/network/samba:default

 Once the solaris setup is done you should see the new option of "Windows printer via SAMBA"
Hope this helps..

No comments: