Troubleshooting Nprinter95 Summary

(Last modified: 28Jul2003)

This document (10019104) is provided subject to the disclaimer at the end of this document.

goal

Troubleshooting Nprinter95 Summary

fact

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

Novell Clients

Formerly TID 2928524

fix

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:

Issue 1:

"LPT1 is not supported on this workstation. Please select another printer that does not use LPT1"
or
"[port] is not a supported port" where [port] is any valid serial or parallel port name.

Solutions:

Nprinter95 looks in the registry at this parameter:
[HKEY_LOCAL_MACHINE\Enum\BIOS\*PNP0401\0C]
PortName=LPT1
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:

Solution #1:

  1. Run REGEDIT 
  2. Go into HKEY_LOCAL_MACHINE\Enum\BIOS\
  3. Use menu item Edit / Find type in 'portname'
  4. Checkmark "Look at" keys, values, and data
  5. Hit button "Find Next" and find the value PORTNAME
  6. Note the data under portname then rename PORTNAME (right click on it)
  7. Use "PortName" (case sensitive capital P and N the rest small case) hit return.
  8. Right click again select 'Modify'
  9. 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.

Solution #2:

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]
setup=TILE
tree=<treename>
context=<contextname>

[LPT1]
name=.P1.<contextname>
printer=P1
printServer=<printservername>
number=0
port=7
profile=1

[LPT2]
name=.P2.<contextname>
printer=P2
printServer=<printservername>
number=1
port=8
profile=1

[LPT3]
name=.P3.<contextname>
printer=P3
printServer=<printservername>
number=2
port=9
profile=1

[COM1]
name=.P4.<contextname>
printer=P4
printServer=<printservername>
number=3
port=10
profile=1

[COM2]
name=.P5.<contextname>
printer=P5
printServer=<printservername>
number=4
port=11
profile=1

NPRINTER.INI example for a 3.x bindery queue.
[LPT1]
name=<printername> - <printservername>
printer=<printername>
printServer=<printservername>
number=0 <---- printer number in pconsole
nlm=NPTDRV95.NLM
port=7
profile=1

Issue 2:

Hewlett-Packard HP6P printers print only once. Turning the printer off and on allows the printer to print one time again.

Solution:
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.

Issue 3:

IPX/IP gateway user receives the following error when loading NPTWIN95.EXE:
"Nptwin95.exe cannot connect to print server CN=XXXXX. Error code:44".

Cause:
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.

Solution:
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".

Issue 4:
"A required .DLL file, PRTWIN32.DLL, was not found"

Solution:
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.

Issue 5:
When starting Nprinter for Windows 95, you get the error "Nprinter file '&0' could not be found".

Solution:
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.

Issue 6:
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.

Cause:
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.

Solution:
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.

Issue 7:
How do I get the GUI Nprinter for Windows95 to automatically close when I put it in the startup folder?

Solution:
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.

Issue 8:
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>

Solution:
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.

Issue 9:
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.

Cause:
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.

Solutions:
* 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.

Issue 10:
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.

Solution:
Disabling bidirectional printing on the printer itself allows printing to work correctly with Nprinter95.

.

document

Document Title: Troubleshooting Nprinter95 Summary
Document ID: 10019104
Solution ID: 1.0.34289002.2360630
Creation Date: 14Oct1999
Modified Date: 28Jul2003
Novell Product Class:NetWare

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.