Troubleshooting Nprinter95 Summary
(Last modified: 28Jul2003)
This document (10019104) is provided subject to the disclaimer at the end of this document.
Troubleshooting Nprinter95 Summary
Novell NetWare 3.11
Novell NetWare 3.12
Novell NetWare 3.2
NOVELL NETWARE 4.1
Novell NetWare 4.11
Novell NetWare 4.2
Novell intraNetWare 4.11
Novell NetWare 5.0
Novell NetWare for Small Business (NWSB) 4.11
intraNetWare for Small Business 4.11
Novell NetWare for Small Business 4.2
Formerly TID 2928524
NOTE: NPRINTER is based in IPX/SPX technologies. If you need to move to IP, please see TID 10060125 titled "How can NDPS use a printer locally attached to a Windows NT or Windows 2000 workstation using LPR?"
BASIC TROUBLESHOOTING STEPS FOR PRINTING:
1. Make certain you have the current version of NetWare NPRINTER Manager by checking the support website. There are multiple versions, and the issue(s) you are experiencing may have been resolved in a newer release.
2. Make certain you have the current version of NetWare Client32 for Windows 95. Many of the Print Provider support files come from Client32 and the issue you are experiencing may have been resolved in a newer release.
3. Many configuration problems are related to corrupt/misconfigured NPRINTER.INI files. Rename the NPRINTER.INI in the WINDOWS directory. Restart NPTWIN95.EXE and add the printer again.
4. Check the Nprinter95 Frequently Asked Questions (FAQ) document (TID 2907959).
5. In Windows 95, indicate the frame type(s) for the machine to use. Go to Control Panels, Network, and select IPX 32-bit protocol. Select the Advanced IPX tab and check the box label "Primary logical board". Then choose the frame type used on the server where the print server is loaded.
6. Apply the latest SPXS.NLM to the server.
7. Try running RCONSOLE to the server where the print server resides. RCONSOLE, like Nprinter and Nprinter95 uses SPX communication.
THE FOLLOWING IS A LIST OF KNOWN ISSUES:
"LPT1 is not supported on this workstation. Please select another printer that does not use LPT1"
"[port] is not a supported port" where [port] is any valid serial or parallel port name.
Nprinter95 looks in the registry at this parameter:
If the PortName is something other than PortName like PORTNAME it will think the port is not there. Just deleting the ports and letting windows PNP the configuration back will not necessarily fix the name, when I do this it brings back PORTNAME instead of PortName. Two solutions exist to fix this:
- Run REGEDIT
- Go into HKEY_LOCAL_MACHINE\Enum\BIOS\
Use menu item Edit / Find type in 'portname'
- Checkmark "Look at" keys, values, and data
- Hit button "Find Next" and find the value PORTNAME
- Note the data under portname then rename PORTNAME (right click on it)
- Use "PortName" (case sensitive capital P and N the rest small case) hit return.
- Right click again select 'Modify'
- Enter a value of LPT1 or whatever portname it was. (All CAPS)
It has been reported that some OEM versions of Windows 95 will not let you modify the setting as outlined above. For these cases, instead of modifying the name PORTNAME to PortName, delete the string key of PORTNAME and do an Edit / New / string value and call it PortName then open it and add the port name, ie, LPT1 or whatever port you are working with. Alternatively, you can rename PORTNAME to Port and then rename it again to PortName.
Putting the following information in the NPRINTER.INI file. Put the appropriate heading(s) for what port(s) you want to use. (assumes printers named P1, P2, P3, P4, and P5.
NPRINTER.INI example for a 3.x bindery queue.
name=<printername> - <printservername>
number=0 <---- printer number in pconsole
Hewlett-Packard HP6P printers print only once. Turning the printer off and on allows the printer to print one time again.
Use the HPLJ4 driver in place of the HP6P driver. You could also try using the HP6P driver with bi-directional printing disabled. If the HP6P driver is still not working, try doing a custom install and deselect the toolbox.
IPX/IP gateway user receives the following error when loading NPTWIN95.EXE:
"Nptwin95.exe cannot connect to print server CN=XXXXX. Error code:44".
The IPX/IP gateway uses a different WSOCK32.DLL than the one that ships with Windows95. When this DLL is in place the Nprinter manager can not create the printer. Nprinter manager requires the WSOCK32.DLL that comes with the Windows 95 to create the connection to a print server.
Novell is working on a updated WSOCK32.DLL which will work correctly. Until then the following solution should be a satisfactory work around.
Copy WSOCK32.DLL from the C:\WINDOWS\SYSTEM directory to the same directory that the NPTWIN95.EXE application resides in. The path statement in the AUTOEXEC.BAT needs to have a path for the Client32 subdirectory as well.
Once this is done the GUI Nprinter will work because it will find the Win95 version of the WSOCK32.DLL in the current directory before it searches the path for the IPX/IP gateway version. Other applications will find the IPX/IP gateway version of the file since it is in the path, and use it. If there is not a path to the C:\NOVELL\CLIENT32 subdirectory you will get a message stating that "A required .DLL file, WSOCK32.DLL was not found".
"A required .DLL file, PRTWIN32.DLL, was not found"
The PRTWIN32.DLL is one of the support DLLs required for the NPTWIN95.EXE application. It is supplied in the current Client32 kit. Along with the PRTWIN32.DLL, a version of CLIENT32.NLM dated 01JUL1996 or later is necessary in order to make the Nprinter Manager for Windows95 function correctly.
When starting Nprinter for Windows 95, you get the error "Nprinter file '&0' could not be found".
Make sure the directory containing the Nprinter files doesn't have more than 8 characters in his name. For example, a directory containing the Nprinter files called "Nprinter95" will get this error. Renaming it to "Nptr95" solves the problem. It is recommended that this "Nptr95" directory be created off of the root of the drive of the local machine.
When sending a print job to a printer managed by Nprinter95, the error "Printer off line" occurs. This problem only occurs when sending a print job from the Windows 95 workstation where the printer is physically connected. No problem when sending print jobs from other workstations.
The computer where the printer was physically connected was trying to communicate directly to the printer by using the LPT1 port. However, LPT1 was already in use by Nprinter95 which resulted in the "Printer off line" error. Configuring the printer as a "Network printer" instead of a "Local printer" will allow Nprinter to manage ALL the print jobs.
Even on the workstation where the printer is physically connected, you should set up a "Network printer" for this printer and not configure it as a local printer. To do that, go into the Printer Folder, delete the printer icon, select "Add printer", press Next, choose "Network printer" (don't choose "Local printer", even though the printer is physically connected to that computer) and browse the tree to find the printer queue. Failure to setup the printer may cause corrupted print jobs.
How do I get the GUI Nprinter for Windows95 to automatically close when I put it in the startup folder?
If you just put Nprinter in the startup it will either automatically connect or not depending on the button set in the "Activate printer when Nprinter Manager loads" box. But either way, you will still have the Nprinter Manager program running in Windows 95. To get Nprinter95 to auto load and auto close so the user does not have to have any intervention, put the following parameter in the properties shortcut for NPRINTER /EXIT.
Add NPRINTER to the StartUp Folder
1. Choose Start, and then point to Settings.
2. Choose Taskbar, and then choose the Start Menu Programs tab.
3. Choose Add, and then choose Browse.
4. Navigate to the NPTWIN95 file, and then double-click it.
5. Choose Next,and then double-click "StartUp."
6. Type the name that you want to see on the StartUp menu (like NPRINTER), and then choose Finish. If
Windows prompts you to choose an icon, choose one, and then choose Finish.
Adding /EXIT to the NPTWIN95.EXE executable.
1. On taskbar right click and choose properties.
2. Choose Start menu programs Tab.
3. Choose Advanced Tab.
4. Go into Programs then Startup
5. Right click on Nprinter Program Icon and choose properties
6. Choose ShortCut Tab and under the path and filename in TARGET, put /EXIT at the end of the line. This will automatically close the Nprinter Manager and leave Nprinter95 after Windows95 startup.
When trying to connect to a print server on a 3.12 server, the print server shows up, but under the attached printers box, it says <No printers available>
Choose the frame type being used on the server as described above in Basic Troubleshooting Step #5. The other reason for this to happen is that all of the printers defined for the print server are already being used on other workstations running Nprinter or Nprinter95.
Adding a printer in the Nprinter Manager allows you to choose the printer in the dialog, but returns error 45 when trying to connect. Error 45 indicates an SPX establish connection failure. SPX works fine for rconsole, nprinter.exe, etc.
This issue is generally an SPX communication problem. Different things can cause this such as LAN card drivers, frame type settings, lan drivers on the server, packet burst, LIP, print server problems, and other client issues.
* Try a different LAN driver and or card on the client.
* If using an NDIS driver for Client32, try an ODI driver.
* If using an ODI driver for Client32, try an NDIS driver.
* Disable LIP and packet burst on the client.
* Set File Cache Level to 0, and set the frame type to manually as described above in Basic Troubleshooting Step #5.
* Update the drivers on the server. Update the server's SPX files. Update the server's PSERVER.NLM.
* Uninstall Client32 and reinstall it on the workstation.
* Get a trace of the workstation loading Nprinter Manager in order to determine where the communication is breaking down.
When using Nprinter95 with printers supporting bidirectional printing, strange printing behaviors may be seen, such as sending one job to the queue which prints fine, but then sending more jobs to the queue which will not print.
Disabling bidirectional printing on the printer itself allows printing to work correctly with Nprinter95.
|Document Title:||Troubleshooting Nprinter95 Summary|
|Novell Product Class:||NetWare|
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.