I guess this would help:
Choose File > Print, and then choose Add Printer from the Printer pop-up menu.
Step 2
Click IP in the toolbar of the dialog that appears.
Step 3
Choose the appropriate printing protocol from the Protocol pop-up menu.
Step 4
Type the IP address or DNS name for the printer in the Address field.
Step 5
If your printer requires it, type the queue name for your printer in the Queue Name field. If you don