473,698 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

printer handle invalid

7 New Member
I have a customer with an hp 2210 all-in-one USB connection, running in Windows XP Pro, that worked fine for several months. I found the printer was no longer recognized and, after attempting to uninstall/reinstall the print driver software, I get a message that "the printer handle is invalid". What does this mean (these error messages never tell you how to fix them!)? The machine tells me the handle is invalid.... any one else have this happen? How do you fix it??
Apr 17 '09 #1
4 13384
Nepomuk
3,112 Recognized Expert Specialist
This sounds like an error in the printer driver to me. Have you tried using the newest drivers from the HP website? If they don't work, I'd contact HP Support (email is normally a good way to do these things) and ask them. This error is mentioned here and is related to the .NET Framework 1.1, so I'm guessing the driver was written using .NET in some way. However, I'm neither a .NET expert nor have I ever written a hardware driver, so I can't give you more information there, sorry.

Greetings,
Nepomuk
Apr 19 '09 #2
DonRayner
489 Recognized Expert Contributor
Try following these steps

1. Download the latest drivers for the printer from the manufactures site and use something like winzip to expand the files to a location of your choice.
2. Clear any documents in the printers que.
3. Power down the printer
4. Restart your print spooler service.
5. Uninstall the printer.
6. Remove any of the printer multifunction functions from your device manager.
7. Plug you printer into a different USB port on your computer. and power it back up.
8. Reinstall the printer using XP's add printer wizard and when prompted to use drivers already installed chose no. Then navigate to where you expanded the new drivers and choose the appropriate .inf file.

Hope this helps.
Don
Apr 19 '09 #3
sierrajohn2
7 New Member
@Nepomuk
Hi,

Thanks for the reply and sorry for my slow reply (I've been swamped) to you. I've already tried/done all of these ideas and NONE of them work. I tried to re-install net framework, did an "over-install repair" of the OS, I have all of the latest drivers, etc.

Talking to HP is about as much help as talking to a power pole, so that didn't solve anything.

Thanks anyway,

sierrajohn2
Jun 13 '09 #4
sierrajohn2
7 New Member
@DonRayner
Hi,

Thanks for the reply and sorry for my slow reply (I've been swamped) to you. I've already tried/done all of these ideas and NONE of them work. I tried to re-install net framework, did an "over-install repair" of the OS, I have all of the latest drivers, etc.

Talking to HP is about as much help as talking to a power pole, so that didn't solve anything.

By the way, the printer installs with the same drivers, etc. on another computer that they have. The original machine that the driver gives the error message on is Windows XP Pro and the one that the printer installs and functions on is Windows 98SE. Go figure!

Thanks anyway,

sierrajohn2
Jun 13 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
22305
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to the selected printer. I'm not concerned about the text format. What I tried is something like this CommonDialog1.ShowPrinter
3
6129
by: Eric Eggermann | last post by:
Hello, I need to implement a custom print dialog, and I'm trying to show a printers configuration box, like when you click Properties on the windows forms PrintDialog. I've gotten as far as showing the dialog. Now what do I do with the devmode pointer? I've tried using SetHdevmode on the printer setting, and it's default page setting, but I'm getting a System.EngineExecution error. Here's the declarations,
6
1922
by: Bradley1234 | last post by:
What is the way to send/read bits to the printer port at the hex 3F8-3FF or any other legacy io space?? Does C# include the methods to drive the printer or other ports? tia
0
3252
by: Tessa | last post by:
Is there any security reason why you cannot print to a network printer from ASP.NET under IIS6 on Windows 2003 server? I'm using ASP.NET code to print to a server print queue using PrintDocument.Print() (.NET framework v 1.1) I can print to a local printer plugged into LPT1 on the web server, but not to a network printer. The same printing code to a network printer works in a .NET web app when
11
9880
by: pamelafluente | last post by:
I am doing my own PrintDialog, and have placed there a combo with the printer names, as in the PrintDialog provided by VB.NET. Here is the question: how do I open the native windows printer dialog for the current printer, so that my current PrintDocument.PrinterSettings will be set according to the User choices ? Thanks -Pamela
0
1503
by: What What | last post by:
I'm trying to print a report to a printer directly using PHP printer function. I have code like the following one. <? if($handle=printer_open()){ print "Printer Connected<br>"; } printer_write($handle, "Text to print"); printer_close($handle); ?>
9
10294
by: id10t error | last post by:
Hello, I am going to be using a Symbol WT4090 to scan items. I need to printer a tag from the Zebra ql320 plus. I am trying to do this is Visual basic 2005. Does anyone know and good site to find out how to do this. I have looked everywhere i know with no luck. Thank you in advance for your help.
4
2029
by: Stefano | last post by:
I've got a problem using printer functions with my network printer shared on another PC as \\192.168.1.3\HP If the printer is connected and reachable, printer_***() functions work correctly. Now let suppose the printer cable is unplagged so the printer is no more reachable: $handle = printer_open($printer_address); // Returns an handle also if the
1
8755
by: =?Utf-8?B?T21lZ2FTcXVhcmVk?= | last post by:
have customized PageSetup and Print dialogs that emulate the standard dialogs. I would like to be able to open the "Printer Preferences" dialog by clicking a button (just like can be done on the standard dialogs). (On some Print dialogs (such as in Word and Excel) this button is labelled "Properties". And just to avoid being too consistent, it is labelled "Options" on the Excel PageSetup dialog.) I thought that this would be trivial,...
0
9152
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8856
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.