This is G o o g l e's cache of http://www.its.niu.edu/its/ESS/nats/os2ndspr.shtml.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.


Google is not affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: inimaint os 

ITS - Services
ITSa.jpg
 
Northern Illinois University
clear.gif
clear.gif
NATS: Network Operations Notes and Procedures
Documentation written by Network Operations staff for Local Network Administrators at NIU Network
  Operating Systems
  Red Dot NetWare
  Red Dot Windows NT
  Network Clients
  Red Dot DOS and Windows 3.x
  Red Dot Microsoft Windows 95
  Red Dot Microsoft Windows NT
  Red Dot IBM OS/2 Warp
  Red Dot Apple Macintosh
  GroupWise
  Red Dot Novell GroupWise 4.1a
  Red Dot Novell GroupWise 5.2
  Miscellaneous Information
  Red Dot Miscellaneous Documentation
  Old Documents
  Red Dot Old Documentation

 

Network Operations Notes/Procedures

Title             : OS/2 Printing to NetWare NDS 

                    Print Queues

Document File Name: OS2NDSPR.shtml

Date              : 31 Mar 1997

Supersedes        : 31 Jan 1997

Author            : DAG

Description

How to configure OS/2 to allow printing via OS/2 Printer Objects to more than three print queues.


Backround

During our upgrade/conversion from NetWare 3.11 to NetWare 4.11, we discoverred that the OS/2 users had configured their machines with several OS/2 printer objects via the "Network Printer" template, and that these printers are only able to be directed to Bindery queues. Since we are not supporting Bindery Emulation, the users could not "see" any print queues on the network. Because some of them were using more than three printer objects to access various printers and print drivers for those printers, the regular "Printer" object was not considerred acceptable with "captured" print queues, as that only allowed LPT1, LPT2, and LPT3 to be selected.

Called Novell to open an incident (#1306731) to see if there was a solution that we were missing, or something that we could do to provide the functionality that the users already had with NetWare 3.11 in the new environment.

According to Novell (TID #1004527) this cannot be done. OS/2, by default, only includes support for LPT1, LPT2, and LPT3 as priner ports. Their suggestion is to use NWTools to capture LPT4...LPT9 to print queues, then use the application's printing capability to print to a file called \DEV\LTP# to access the remaining six ports.

Not acceptable.


Solution

A better solution was found. It requires modifying OS/2's configuration to support more LPT ports. The changes are made to OS2SYS.INI and allow captured printer ports LPT1...LPT9 to be used in Printer objects.


Configuration

Two files were downloaded from ftp://ftp.cdrom.com/. The first is ADDLPT.ZIP, which may not actually be needed, the second is INIMT33J.ZIP, which is required.

The documentation for ADDLPT is, at best, skimpy. It says that it will modify OS2.INI to add LPT3...LPT9, though it has only been tested with OS/2 1.x. However, it does seem to also work, to a degree, with OS/2 2.x. It appears to make one set of changes, that do allow the Printer objects to be directed to the new LPT ports, but the ports it creates cannot be redirected via NWTools and jobs sent to the printer simply disappear.

The following steps, however, will configure OS/2 to have nine LPT ports all of which can be redirected via NWTools:

  1. Run ADDLPT - this seems to modify OS2SYS.INI and changes the Application called PM_SPOOLER_PORT by adding Keys LTP4...LPT9. The same change, made with IniMaint seems to also work.
  2. Run IniMaint - There are Applications called PM_LPT1, PM_LPT2, and PM_LPT3. Use the Dupliate Application feature (CTRL-Z) of IniMaint to duplicate PM_LPT3 to PM_LPT4...PM_LPT9.
  3. For each of the new PM_LPTx Applications created, modify the Key called Description in the bottom (edit) window to have the correct LPTx listed (ie: PM_LPT4 should have a description of LPT4).
  4. Exit IniMaint.
  5. Open the Templates folder.
  6. Drag a Printer object template to the desktop. It will open up into the settings for the new printer.
  7. Select the correct driver from the Printer Driver tab.
  8. Select a LPT port from the Output tab. You should be able to select one of the newly created LPT4...LPT9 ports here. If you cannot, something has gone wrong.
  9. Click on the Create button to save the new printer setup.
  10. Open NWTools
  11. Use the Tools menu to get to Printer Ports
  12. Double click on the LPT port selected for the new printer.
  13. Click on the Browse button
  14. Select the print queue
  15. Change the Queue name from the NDS common name to file server / queue name (ie: Change SSRI283_HP4_Q to CLAS/SSRI283_HP4_Q Added 31 March 1997
  16. Click on the Capture button
  17. Exit NWTools

Testing

Open an OS/2 application and use whatever print setup configuration options it has to select your new printer. Print a document to it. You should get output via the selected NDS queue to the network printer.


Making The Change Permanent

NWTools can be configured to restore your network settings (drive mappings, printer ports captured to queues, etc.) every time OS/2 starts up. Once you have them configured the way you want, use the Save Settings As... option on the File menu to create a settings file.

  1. Open the Startup folder
  2. Open the Templates folder
  3. Drag a Program object from Templates to Startup
  4. For the program command line, use D:\NETWARE\NWTOOLS.EXE
  5. For the command line parameters, use the name of the settings file (*.NWS) and the word autoexit (ex: dag.nws autoexit)
  6. Change the Title to something descriptive (ie: NetWare Setup)
  7. Save and exit

Document written by David Gersic dgersic@niu.edu