Discussion Locked

Print Spooler crashes

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a win2k printer server connected to hp printers and lexmark optra 312l with jetdirect boxes. The spooler crashes every few minutes with thesse errors:
1 Document failed to print due to GDI/Driver error in rendering.
2 Application popup: spoolsv.exe - Application Error : The instruction at "0x77fcb9b1" referenced memory at "0x00000000". The memory could not be "written".
I have been to other sites and see where other admins have the same issue but I have not see any solutions that would solve the problem we are have.

1 reply

by rabbit_runner

Hi, Here goes a very long answer. We have two print servers on our network, on NT 4 and the other Win2k. When we first set up these servers, our print jobs would 'act funny' and it would take for-ever to print. A job with 200 pages would take 2 hours. This was not acceptable. I have not personally seen the error you describe, but let me share with you the things we had to do to correct our problem.
1. Give the server a 'ton' of memory. We are using 768 meg. Also have a large secondary harddrive for two things 1) the spooler and 2) the pagefile. I would recommend a pagefile of about 5+ gig.
2. Turn off license manager or apply the appropriate number of licenses.
3. Now come two registry modifications.
a. HKEY-LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\LPR Port\Ports\\Timeouts
In each of these ports, you will need to set Commandtimeout and Datatimeout to '0' (zero)
b. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\LPDSVC\lpr
If you do not have this key, then create it. In it you only have one DWORD value.
"UseNonRFCSourcePorts" The value is "1"
If you already have this key and it has a number of IP ports listed, then delete everything and add only the above item.

NOTE: you must have Service Pack 5 or higher applied to the server. Apply it BEFORE you do the registry modifications.

Last Note: Any registry modifications, you take at your own risk. Do a backup of the registry before changing anything.

Best of luck.

This discussion is closed to new replies.