Wednesday, June 01, 2011

Configuring the Windows Printer on Linux Server using SAMBA and CUPS

Steps to configure :

1) Install the Printer at Windows Level
2) Install the Proper driver at Windows Level 
3) Check Printing from Local PC.
4) Share the Printer from Windows PC and give the permissions to the USER (e.g. printuser@abc.com and Password: print123) to print on this printer over the network.
5) Login as printuser@abc.com from another PC and connect to this Shared Printer and Print a TEST PAGE on this printer.
6) Make a note of the HOSTNAME or IP Address (Eg.10.2.1.1) of the Windows PC and also the Share Name.
7) In Linux, Printer either can be configured directly from the Printer configuration Screen or using CUPS over the web Interface(Remote or Local).
8) Access the CUPS URL from the browser.
9) Enter the Username and Password of the ROOT to Install the new Printer.
10) Click Add Printer ICON
11) Enter the Name of the Printer to Access from the Linux and Enter the Optional fields Location and Description and Click CONTINUE.
12) Select Windows Printer Via SAMBA.
13) The most critical part of the Configuration entering the DEVICE URI
                   Now we're configuring the WINDOWS BASED PRINTER over SAMBA with the credentials of the windows user, who has got the Permission to Print on this Printer.
In our Example:
Username : printuser
Password : print123
Domain: print123
IP Address of the PC : 10.2.1.1
Print Share Name(Case-Sensitive): HPLaserJ

URI for the above example can be : smb://printuser:print123@/10.2.1.1/HPLaserJ

Enter the URI and Continue
14) Select Make of the Printer : HP
15) Select the exact Printer Driver from the menu or submit the PPD file downloaded from the Manufacturers Site.
Click continue . This will conclude the Installation of the Printer.

No comments: