RE: The Handle Is Invalid when printing to new HP printer
- From: v-mzhuan@xxxxxxxxxxxxxxxxxxxx (Manfred Zhuang [MSFT])
- Date: Mon, 23 Jul 2007 10:48:57 GMT
Hello Customer,
Thank you for posting here.
From your description, I understand that after installing an HP2605dnprinter, it does not work properly. The test print failed and when
attempting to print from NotePad, the error message "The handle is invalid"
was received. After trying the steps included in KB287284, the issue
persists. If I have misunderstood your concern, please feel free to correct
me.
This issue can be caused by some corrupted spooler files or some corrupted
registry keys. Let's try following steps to see if it works:
Suggestion 1: Install the latest driver for the printer:
===================
1. Right click Start--> control panel-->printers and faxes and click Open.
2. Right click the printer and click Delete.
3. Click File menu and click Server properties.
4. Click drivers tab.
5. In the installed printer drivers, highlight the printer and click the
Remove button.
6. Click Yes.
7. Visit following website to download the latest driver:
http://h10025.www1.hp.com/ewfrf/wc/static_software_select?lc=en&cc=us&dlc=en
&rule=23270&lang=en&
8. Install the new driver.
If it does not work, let's move on:
Suggestion 2: Clear Printer Spooler files and enable the spooler service
===================
Note: I assume that the system is installed on local disk (C:).
1. Click Start, click Run, type "Services.msc" (without the quotation
marks) in the open box and click OK.
2. Double-click "Printer Spooler" in the Services list.
3. Click on Stop and click OK.
4. Click Start, click Run, type "%WINDIR%\system32\spool\printers", in the
open window, please delete all files in this folder.
5. Click Start, click Run, type "Services.msc" (without the quotation
marks) in the open box and click OK.
6. Double-click "Printer Spooler" in the Services list.
7. Click on Start. In the Startup Type list, make sure that "Automatic" is
selected and Click OK.
If the issue persists, let's move on:
Suggestion 3: Clear the registry keys and the driver
===============================
1. Click Start-->Run
2. Type Regedit and click OK.
Then, please perform following steps:
a. For safe-keeping, please right click following registry keys and click
Export to export them for backup purpose:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print
b. Delete any sub-keys, if they exists, from:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windo
ws NT x86\Drivers\Version-2
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windo
ws NT x86\Drivers\Version-3
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows
NT x86\Drivers\Version-2
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows
NT x86\Drivers\Version-3
c. Delete any non-default sub-keys from:
NOTE: Please do not delete the default keys.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors
The default monitors are: (It is normal that some keys do not exist.)
BJ Language Monitor
Microsoft Shared Fax Monitor
AppleTalk Printing Devices
Local Port
PJL Language Monitor
Standard TCP/IP Port
USB Monitor
Windows NT Fax Monitor
d. Delete any sub-keys from:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Printers
e. Exit the Registry Editor and restart the server.
f. Install the latest driver for the printer and check if the issue
persists.
I hope the above information is helpful to you. However, if the issue
persists, please take following test:
Test:
===========
Please connect the printer to another server or a client workstation and
check if it works properly.
If the issue persists, I believe that there is a problem with the printer.
I suggest you contact the vendor to have a check with the printer.
If the issue does not happen on other computers, please help me gather
following information on the server:
1. Please try to print a file from WordPad and let me know if the issue
persists.
2. Please download the MPS Report tool from the following link and run it
on the SBS server, then send the generated CAB file to my mailbox
v-mzhuan@xxxxxxxxxxxxx for further investigation so that we can find what
the root cause is:
http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd9
15706/ MPSRPT_SETUPPerf.EXE
For your information:
http://www.microsoft.com/downloads/details.aspx?FamilyId=CEBF3C7C-7CA5-408F-
88B7-F9C79B7306C0&displaylang=en
Please try the above steps at your earliest convenience. If you have any
concern, please feel free to let me know.
Best regards,
Manfred Zhuang(MSFT)
Microsoft Online Newsgroup Support
Get Secure! - www.microsoft.com/security
=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.
Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.
For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.
Any input or comments in this thread are highly appreciated.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Prev by Date: RE: Linked Group Policy Objects
- Next by Date: Re: Outgoing mail via multiple smart hosts?
- Previous by thread: What happens with SBS 2003 if number of connections exceeds number of CALs?
- Next by thread: RE: The Handle Is Invalid when printing to new HP printer
- Index(es):