Question Locked

Windows XP Network Printing

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

In my company, one of our laptop users have a strange printing issue I cannot figure out. What happens is they leave work with their laptop on, go to a customer site, then come back. When they come back, they cannot print to any printer (they have full network access, can check e-mails, connect to shared files, ping the printers and servers, etc.) and get an error stating that the printer's network address is invalid.

This is a laptop specific problem (as opposed to just the single user account), as I was able to replicate it under my user account by disconnecting the network cable and turning the wireless adapter off. After reconnecting the network cable, I too could not print on that laptop.

I restarted the print spooler service, but that did not fix the problem. The only thing that seems to fix the problem is either logging off, making sure the network cable is connected or wireless enabled, then log back in (or just restart the laptop).

Any suggestions?

13 replies

by robo_dev

Are these printers directly network attached (jetdirect cards) or shared off of a windows server?

Is this laptop using DHCP or static address? If the machine re-enters the network at a new IP address, the DNS of the domain controller and/or the client is going to be very confused.

Have you tried refreshing the PC DNS and/or netbios entries?

nbtstat -R (purge Netbios names)
ipconfig /flushdns

(or choose "Repair" option in XP)

by mwhite

Yes, all servers are operating Windows 2003 SP2 and all clients are Windows XP SP2, except for me, I'm the (un)lucky Vista user.

These printers are attached to the network (some HP, rest are Kyocera), but shared from a Windows 2003 Server.

Laptop is using DHCP. But this is very normal, as we have dozens of laptops setup the same way (this is the only one having the problem).

No, I have not tried refreashing the PC DNS/netbios entries. I can try that, but I'm not sure how that will help prevent this from happening again.

Interesting enough this laptop was used by another person but they never reported having any printing problems. Of course, most users probably shut off their laptops before leaving the office.

When rotating this laptop to the current user, I did not reinstall the OS as everything was operating well and they used similar programs.

I'll post back with my results on refreshing DNS/netbios. Thanks for the reply!

by mwhite

Unfortunately this doesn't fix the problem. I've done some research online but have not been able to find any real solution other then reloading Windows, which I am trying to avoid for this computer.

by wesley.chin

What is the IP for the printers? Is it fixed? If they are, check and see if the printer ports are specified correctly.

by mwhite

The printers are static IP's, shared from our file/print server. Other users (on other computers) can print to them without a problem. The issue definately exists solely on his laptop. Unfortunately we do have not an image of his laptop and he cannot live without it. We do have a spare, but I'd rather not take a step back unless we have to.

by wesley.chin

Have you verified whether the IP for the printer same as the printer? Since you say the other computers can print, checking the IP with that specified for the other computers will work too. The stream of numbers must be exactly the same.

by l-mo

The user in question physically shuts the machine but does not "shutdown" the laptop.

My question and or thought is then:

when he shuts the machine and it is removed from the area the network becomes diconnected. Once he returns and the machine is in the networks range does he still have access to these resources?

Shouldn't he have to log-in in order to regain access to the shared resources.

just a thought... hope it helps....

by mwhite

When he comes back within wireless range of the company his laptop automatically connects back to the wireless network. He is able to access network resources (network drives, internet, e-mail, etc.) and has a local network address. The only resource that he has trouble accessing are printers... he can see them, but cannot print due to the error.

by wesley.chin

Some thoughts.

From what you are saying, I assume that the other computers are able to print. Are those computers sennding jobs to the printer wirelessly or is it by some other means? How is the laptop connecting to the printer?

Also, just because the printer can be seen does not necessarily mean printing is possible. If there is a domain and server, there maybe permissions that have to be granted. At the very least, verify that the printer is a shared resource.

What firewall is being used? Check if printer sharing is enabled/made an exception in the firewall.

Let me know how it goes.

by Former member

Different network drivers. If you go into the "device manager" and under "network adapters" right click on the network device and select "update drivers > browse computer for drivers", and select another driver in the list. Test this out and see if the problem still arises.
Hope this gets helps you.

Please post back if you have more problems or questions.

by mwhite

The laptop has both wired and wireless connections (wired when laptop is in docking station). The printing problem exists on this laptop in all situations - laptop connected to network via wireless only, laptop connected to network wired only, laptop connected to network both wired and wireless.

Other computers connect the same way, some only wired, some both, some only wireless (depending on how the user is connected at the moment).

The user has been with the company for several years and has never encountered printing problems on his previous computers. He has the permissions need to print in this way. Also, the firewall is configured to allow for printing and access to shared resources.

I think I need to restate that the laptop CAN print once it is connected to the network AND then restarted within wireless range of the building and/or connected directly to the network via Cat5e. If the laptop is already powered on, then enters the network, it will not print.

After the user restarts his laptop, while connected to the network (wired or wireless), he does not have the problem.

by mwhite

Found that when the laptop goes into standby/sleep mode, it causes the network card to "break". When the laptop comes out of standby/sleep mode, something in the network card doesn't seem to power back on or reconnect, which prevents the connect to network printers from working.

I was able to verify this by disabling the option to allow the network card from powering off. This fixed the issue, but dramatically drained the battery during standby/sleep modes.

Thanks for the responses everyone! I hope this helps someone else.

This discussion is closed to new replies.