To configure the lpr gateway software, you need to complete the following tasks:
Each of these tasks is described in the following sections.
Before trying to configure NDS and the lpr gateway software, make sure that the following prerequisites are completed on the NetWare/IP server:
Before you can use the NetWare-to-UNIX print service, you need to create three objects in the Directory database: a Print Queue object, a Printer object, and a Print Server object. Each of these objects represents a physical entity on the network.
All three of these objects should be created in the same Directory context. The Directory context should be determined by who will most often use the NetWare-to-UNIX print service and where the Server object is that represents the NetWare/IP server on which the lpr gateway and print server software are loaded.
The following sections describe procedures for creating Directory objects that will enable you to use the NetWare-to-UNIX print service on your network.
Use NetWare Administrator to create a Print Queue object:
From NetWare Administrator's browse window, choose the container into which you want to place the Print Queue object.
From the Object menu, choose Create.
From the list of objects, choose Print Queue and choose OK.
In the Print Queue Name field, enter a name for the Print Queue object.
The name should be descriptive of who should use the queue or where it is located and should follow standard object naming conventions.
In the Print Queue Volume field, enter or browse for the name of a volume that can support a print queue.
The volume should have enough disk space free to support the largest print job load the queue may hold.
Choose the Create button.
Use NetWare Administrator to create a Printer object:
From NetWare Administrator's browse window, choose the container into which you want to place the Printer object.
From the Object menu, choose Create.
From the list of objects, choose Printer and choose OK.
In the Printer Name field, enter a name for the Printer object.
The name should be descriptive of the type of printer this object represents or where it is located, and should follow standard object naming conventions.
Choose the Define Additional Properties box, and choose the Create button.
On the right side of the Printer object dialog, choose the Assignments button.
Choose the Add button to assign a print queue to this Printer object.
Choose the Print Queue object you created to service the NetWare-to-UNIX print service, and choose OK.
On the right side of the Object dialog, choose the Configuration button.
From the Printer Type drop-down list, choose UNIX.
When prompted, enter the host name of the UNIX host to which the network printer is attached in the Host Name field.
In the Printer Name field, enter the name by which the printer is known to remote hosts, and choose OK.
Choose OK to exit the Printer object dialog.
Use NetWare Administrator to create a Print Server object:
From NetWare Administrator's browse window, choose the container into which you want to place the Print Server object.
From the Object menu, choose Create.
From the list of objects, choose Print Server and choose OK.
In the Print Server Name field, enter a name for the Print Server object.
The name should be descriptive of the type of print server this object represents or where it is located, and should follow standard object naming conventions.
Choose the Define Additional Properties box, and choose the Create button.
On the right side of the Print Server object dialog, choose the Assignments button.
Choose the Add button to assign a printer to this Print Server object.
Choose the Printer object you created to represent the network printer attached to a UNIX host on the network, and choose OK.
Choose OK to exit the Print Server object dialog.
If you created Directory objects as described in the previous sections, you have already associated a Print Server with a Printer and a Printer with a Print Queue. If you are using existing Directory objects to enable NetWare-to-UNIX printing, you might need to assign a Printer object to a Print Server object and a Print Queue object to a Printer object.
Use NetWare Administrator to assign a print queue to a printer:
From NetWare Administrator's browse window, choose the Printer object to which you want to assign a print queue.
The Printer object should be configured to represent the network printer attached to a UNIX host.
From the Object menu, choose Details.
On the right side of the Printer object dialog, choose the Assignments button.
Choose the Add button to assign a print queue to this Printer object.
Choose the Print Queue object you want to service the NetWare-to-UNIX print service, and choose OK.
Choose OK to exit the Printer object dialog.
Use NetWare Administrator to assign a printer to a print server:
From NetWare Administrator's browse window, choose the Print Server object to which you want to assign a printer.
From the Object menu, choose Details.
On the right side of the Print Server object dialog, choose the Assignments button.
Choose the Add button to assign a printer to this Print Server object.
Choose the Printer object you created to represent the network printer attached to a UNIX host on the network, and choose OK.
Choose OK to exit the Print Server object dialog.