Setting up LPR/LPD (UNIX to NetWare) printing with NetWare 6
(Last modified: 04Feb2003)
This document (10026897) is provided subject to the disclaimer at the end of this document.
goal
Setting up LPR/LPD (UNIX to NetWare) printing with NetWare 6
Setting up LPR/LPD (UNIX to NetWare) printing with NetWare 5.1
fact
Novell NetWare 5.1 Support Pack 2A (NW51SP2A.EXE)
Novell NetWare 6.0
Novell NetWare 5.1 Support Pack 3 (NW51SP3.EXE)
Novell Distributed Print Services (NDPS)
Novell UNIX Print Services
UNIX to NetWare Printing
fix
Listed below are the steps necessary to send print jobs from UNIX hosts to NDPS on NetWare 6 and NetWare 5.1.
NOTE: NetWare 5.0 out of the box does not support receiving LPR/LPD printing via NDPS.
NOTE: Novell UNIX Print Services was only designed for use up until and including NetWare 5.0. However, Novell UNIX Print Services 2.5 for NetWare 5.1 was released as a one-time, interim release to be used until transition to NDPS can be completed. There is no such release for NetWare which requires NDPS.
There are two sides to configure. The NDPS portion, or server side, should be configured first. Then the Unix host should be configured. Many times the Unix host will want to communicate with the printer during setup. If NDPS has not been configured to accept LPR print jobs, the LPR configuration may fail on the Unix host.
CONFIGURING THE UNIX HOST:
On the Unix host, set up a remote printer. This step varies depending on the version of Unix. There are a couple of key components of the remote printer setup.
First, provide the IP address of the remote printer. This will be the IP address of the NetWare 6 or NetWare 5.1 server running the NDPS Manager.
Second, specify a queue name. The queue name will need to be the same as the Printer Agent name managed by the NDPS Manager on the NetWare 6.0 or NetWare 5.1 server to which the jobs are sent. This name cannot contain any spaces, such as "Joe's printer" and must be 31 or fewer characters in length.
Please note that NDPS does not do any formatting of print jobs. It is a straight pass through of the data stream from the Unix host to NDPS. To have print jobs look different than just plain text, configure the UNIX host to use Postscript or PCL to format the jobs prior to sending them. Please check Unix documentation for instructions.
NOTE: NetWare 6.0 now gives administrators the ability to convert Unix form feeds (FF) to a carriage return (CR) and form feed (FF) and then append a form feed (FF) to the end of the print job. This is the only filtering that NDPS will do. When running a Unix system that does not have any way of formatting a print job and garbage prints, enable the above mentioned filter. This filter is on the "LPR Client Support" button on an NDPS printer agent.
CONFIGURING NDPS ON NETWARE 6.0 OR NETWARE 5.1:
PREREQUISITES:
* The IP stack must be bound to the server's network interface and TCP/IP must be loaded on the NetWare 6.0 or NetWare 5.1 server. NDPS must be installed on the server. NDPS must be installed on a workstation used to administer the NetWare 6.0 or NetWare 5.1 NDS tree.
* Check and make sure that there are no other LPR products listening to port 515, such as PLPD.NLM. There will be problems if multiple NLMs are listening to the same TCP port.
STEPS:
Enabling LPR on the printer agent varies on which gateway is used. This document explains how to configure LPR using the Novell Gateway and the HP Gateway. These instructions also assume NDPS Broker and Manager are configured and running on the target server.
CONFIGURING LPR USING THE NOVELL GATEWAY:
1.) Run NWADMN32 from the SYS:PUBLIC\WIN32 directory of the server running NDPS.
2.) Select the container in which to create the NDPS LPR printer. Right click on the container, select "Create" and then select "NDPS Printer" and click "OK".
3.) For the NDPS Printer Name, give this printer agent the same name given the queue name on the Unix host side, then click "Create".
4.) Select the NDPS Manager Name that this printer agent should be associated with. For the Gateway type, the Novell Gateway is selected by default. Click on the OK button.
5.) For printer type, select the printer you being connected to. If the printer does not match any types listed, select "None". Please note that it is not mandatory to select a printer type, even if one exists for the printer. For the Port Handler Type, the Novell Port Handler should be listed. Click the "OK" button to continue.
6.) For connection type, select "Remote (LPR on IP)" and click on the "Next" button. (This step and step seven are how to configure the Novell printer gateway and the method it will send the print job to the physical printer once the print job has been received by the server. If printing to an IPX printer, or a printer connected directly to the NetWare server, choose one of the other methods of sending the print job.)
7.) Now put in the IP address of the printer that will be receiving the print jobs, then click on the "Finish" button. (This step may vary if the method chosen in step 6 is not "Remote (LPR on IP)".)
8.) The printer agent will load. Once it is loaded, print driver selection is requested. If this LPR printer will only service print jobs from Unix hosts, then "(None)" can be selected. If, however, Windows workstations may be printing to this printer, select a print driver. This will allow NDPS to automatically download the drivers to the Windows workstation. If drivers are not selected here, the Windows workstation user will be asked to select a print driver. Again, this only affects Windows workstations that may attach to this printer agent in the future. Once the print driver is selected, click on the "Continue" button. The print object will be created in DS.
9.) Once the NDPS Printer shows up in the NDS container it was created in (it may be necessary to refresh the windows, or close and re-open the container), double click on it. This will open up the printer details. Click on the "LPR Client Support" tab on the right side. Put a checkmark in the box next to "Enable LPR/LPD services for this printer" and then click on the "OK" button. Optionally, an IP address range that facilitates restricted access to the printer to only those IP addresses within the given range can be added. If running NetWare 6.0, there is now an option to place a slight formatting filter on the print job. Form feed (FF) commands can be converted to a carriage return (CR) and form feed (FF) and a form feed (FF) will be appended at the end of the print job.
10.) This completes the setup of the NDPS LPR printer using the Novell Gateway. Send a test print job to verify it works.
Configuring LPR using the HP Gateway:
1.) Run NWADMN32 from the SYS:PUBLIC\WIN32 directory of the server running NDPS.
2.) Select the container wherein to create the NDPS LPR printer. Right click on the container, select "Create" and then select "NDPS Printer" and click "OK".
3.) For the NDPS Printer Name, give this printer agent the same name as the queue name on the Unix host side, then click "Create".
4.) Select the NDPS Manager Name that this printer agent should be associated with. For the Gateway type, select the "Hewlett-Packard IP/IPX Printer Gateway" and click on the OK button.
5.) For printer type, select the printer being connecting to. If the printer does not match any types listed, select "None". Please note that it is not mandatory to select a printer type, even if one exists for the printer. Next, select "IP Printer" and a list of IP JetDirect devices will appear. Select the appropriate printer. If the printer does not appear, manually enter IP address below. Click the "OK" button to continue. (It is not mandatory to select the "IP Printer" if using IPX to print to the printer. This step is setting communication from the Novell server to the physical printer.)
6.) The printer agent will load. Once it is loaded, print driver selection will be requested. If this LPR printer will only service print jobs from Unix hosts, then "(None)" can be selected. However, if Windows workstations may be printing to this printer, select the appropriate print driver. This will allow NDPS to automatically download the drivers to the Windows workstation. If drivers are not selected here, the Windows workstation user will be asked to select a print driver. Again, this only affects Windows workstations that may attach to this printer agent in the future. Once the print driver is selected, click on the "Continue" button. The print object will be created in DS.
7.) Once the NDPS Printer shows up in the NDS container in which it was created, double click on it. This will open up the printer details. Click on the "LPR Client Support" tab on the right side. Put a checkmark in the box next to "Enable LPR/LPD services for this printer" and then click on the "OK" button. Optionally, enter an IP address range that facilitates restricted access to the printer to only those IP addresses within the given range. If running NetWare 6.0, there is now the option of placing a slight formatting filter on the print job. It will convert all form feed (FF) commands to a carriage return (CR) and form feed (FF) and have a form feed (FF) appended at the end of the print job.
8.) This completes the setup of the NDPS LPR printer using the HP Gateway. Send a test print job to verify it works.
.
document
Document Title: | Setting up LPR/LPD (UNIX to NetWare) printing with NetWare 6 |
Document ID: | 10026897 |
Solution ID: | 1.0.56353489.2545480 |
Creation Date: | 17Feb2000 |
Modified Date: | 04Feb2003 |
Novell Product Class: | Connectivity Products NetWare Novell eDirectory |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.