Taken from http://www.experts-exchange.com/Hardware/Peripherals/Printers_Scanners/HP/Q_21280217.html
Introduction
A Spoolsv.exe or Out of Resources error message may occur as a result of an HP LaserJet printer driver install but can be caused by the installation of other items that create port monitors in the registry, such as AutoCAD (TM) or Adobe (R) Acrobat (R). This document will help with eliminating the cause of spoolsv.exe or out of resources error.
More information from Microsoft on this issue
This document is based on Microsoft’s knowledgebase document, Q260142 "How to Troubleshoot Windows 2000 Printing Problems Current - Microsoft? Windows 2000 Professional - Microsoft Windows 2000 Server", for more in depth troubleshooting please refer to this document on Microsoft's advanced support site .
Troubleshooting instructions
Often these errors will completely disable all printing even after rebooting. In the case of spoolsv.exe errors the spool service is gone, so attempting to start or stop the service is not possible. Attempting to do so or just attempting to look in the printer’s folder can also cause the error.
These problems can occur if a third-party program changes the default local port monitor. There may be a third party port monitor that may have installed settings in the Registry causing the issue. Fixing these requires directly editing the registry to remove the Third Party Port Monitor registry entries.
The default port monitors that ship with Windows
AppleTalk Printing Devices (When Services for Macintosh is installed)
BJ Language Monitor
Local Port
PJL Language Monitor
Standard TCP/IP Port
USB Monitor
Windows NT Fax Monitor
Start Registry Editor by clicking Start, Run, Regedit.
Check the following registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors for third-party monitor registry entries. Remove any non-default monitors except HP Standard TCP/IP Port by right clicking on them and selecting Delete.
If either of the following entries are present try removing those first, HP Master Monitor or HP LaserJet 5 Language Monitor.
If the issues still are not resolved then try removing the remaining third party port monitors one at a time, retesting in between.
If the issue persists at that point refer back to the Microsoft knowledgebase document.
NOTE: Removing port monitors for a specific application may disable printing features from that application. In this event the application might need to be un-installed and then re-installed.