PDA

View Full Version : Sharing a printer over a Vista/XP network


whiz
13th Feb 2008, 07:27
Hi All,
I am trying to share a printer over a Vista basic/XP network. The scenario is as follows:
Desktop running XP SP2 with a HP printer connected (hard wired) and set to share.
Lappy running Vista basic connected wirelessly on a network to the desktop through a netgear router.
When I look at the network map in vista (seems a good tool) I can see the desktop although it's annotated that it cannot be added to the group. I have downloaded the vista drivers for the printer and actually went as far as installing it onto the lappy. When I look in the network printers folder I can see the printer but when I select it and try to print a document it sits for 30 secs or so and then throws up an error message in the printer doalogue box which simply says 'printing error'
The firewalls are both set to allow the network and the various TCP/UDP ports as specified here, near the bottom of the page are also allowed.http://http://technet.microsoft.com/en-us/library/bb727037.aspx

I now have a document sitting in the printer queue which although I have cancelled it and it's annotated as 'deleting' in the printer dialogue box wont delete and its screwing up any other docs which I'm trying to print as I test any changes I've made. I have rebooted several times and even the left the bugga overnight in the hope that the offending document would disappear from the printer queue but to no avail. Any ideas how to get rid of this document and what may be causing the printer problem?
Thanks in advance

Edited to add that all I really want to do is be able to print from the laptop. The laptop is basically my plaything for surfing and music/video and I dont need or want the expense of another printer for only very occasional use. :ok:

hellsbrink
13th Feb 2008, 07:32
It's sounding a bit like a firewall issue, I run an XP/Vista network here (although printer is connected opposite way to you) and that is what caused all the issue with me.

What firewall are you using?

whiz
13th Feb 2008, 07:35
It's sounding a bit like a firewall issue, I run an XP/Vista network here (although printer is connected opposite way to you) and that is what caused all the issue with me.

What firewall are you using?

Firewall on both is McAfee with the network and various TCP/UDPs allowed as per the previous link

hellsbrink
13th Feb 2008, 07:59
Hmmm... Not so up on McAfee...

Will get the gerbils in my head running a bit faster and come back if I figure anything out.

hellsbrink
13th Feb 2008, 08:06
Connecting to a Shared Printer on Windows XP via Windows Vista


Problem:
Your Windows Vista PC cannot connect and print to a “shared” printer, which is directly attached to a Windows XP PC, via your network.

Solution:
<LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Unplug your USB cable from the back of the Windows XP PC and plug the USB cable directly into your Windows Vista PC.
The Windows Vista drivers for your printer should be automatically loaded and your printer will be installed on your Windows Vista PC. If this was successful, skip right to step 3.
If step 2 is not successful… i. Download the Windows Vista printer driver for your printer from the manufacturer’s website.
1. If your printer’s manufacturer has not created a Vista driver yet, retry step 2.
ii. Install the driver on your Windows Vista PC. During installation, you’ll be prompted to connect the printer to your PC. Choose the option to proceed with installation without connecting the printer.
<LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">After installation is complete, open the Printers icon in the Windows Vista Control Panel. <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Right-click on your printer that was just installed and choose Properties. <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Navigate to the Ports tab. <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Click Add Port, then select Local Port, then click New Port. <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">For the Port Name, enter the exact network path and share name of your printer. (ex. - \\HOMEPC\Printer2) <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Click OK and make sure that this new port is selected with a check in the checkbox. <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in">Click Apply and then OK to close the printer properties.
You should now be able to print from your Windows Vista PC to a shared printer located on your Windows XP PC.

whiz
13th Feb 2008, 08:12
I downloaded the drivers and did a full install of the printer. I will uninstall and go through without installing the printer this time. Thanks hellsbrink !

Avtrician
13th Feb 2008, 09:36
Have you set your laptop to be part of the same workgroup as the XP PC. (ie: WORKGROUP - HOME or whatever) if not, do this first. Nexti s to use the add printer wizard, select network printer, find the network, and PC concerned. You should now be able to see the attached printer. select it, and necessary drivers should be installed . Hopefully the printer is now connected and working. If not, turn off firewalls and try again. If all is now good, there is obviously a firewall conflict. try allowing the network IPs access (ie 192.168.1.1 to 192.168.1.100). Dont you just love puters????

whiz
13th Feb 2008, 11:55
Avtrician,
I set up the network using the network wizard and I have since read that the default names are different in XP & Vista so that's something I'll have to check on when I get back to the laptop tonight.

Avtrician
13th Feb 2008, 12:36
That sounds like the cause then, if inot on the same workgroup you cant use the sevices. Had to manualy set the Daughters laptop, to use the printer on the home network. My XP laptop was easier, and even works on the company network.

hellsbrink
13th Feb 2008, 18:05
Avtrician,
I set up the network using the network wizard and I have since read that the default names are different in XP & Vista so that's something I'll have to check on when I get back to the laptop tonight.


explains a bit.

The "default" name is case-sensitive, pick somethig nice and easy to remember.

But something still isn't "twigging" regarding how you can see the printer if the workgroup names are different....

whiz
14th Feb 2008, 08:58
Ok a quick update. I only managed to get the laptop booted up and onto the network page before I was rudely interrupted by number 1 son telling me he needed his PC (the desktop) so I didn't get the chance to have a look at any settings on the desktop. One major difference on the laptop was the appearance of 2 new icons on the networking page. I now have the lappy, a PC entitled number1son, another PC entitled familynamenumber1son and the netgear router. During initial set up I could only see the PC entitled familynamenumber1son and the router. Something has changed without me changing it. I will have to do some more work tonight and report back with findings tomorrow. I'm thinking I'll do some more reading and try setting up a brand new network and see where that takes me .... thoughts?
I still have the blasted document allegedly deleting in the printer queue, any ideas how I can get rid of that? I have tried ctrl alt delete but its not showing in the task manager :\

Saab Dastard
14th Feb 2008, 10:54
I suggest that you search the MS site for "home network vista xp" or similar.

Lots of stuff there - though it can take a bit of scanning to sort the wheat from the chaff.

SD

whiz
15th Feb 2008, 07:08
Morning All,
I took Saab's advice and decided to do a bit of reading before I set about the task again. Here's a breakdown of what I did:
I downloaded a patch for XP which enables XP machines to be displayed correctly on the Vista network map http://http://technet2.microsoft.com/WindowsVista/en/library/409fb2fa-8eb8-45af-b063-4f50f5a77b291033.mspx?mfr=true
I uninstalled all the HP drivers and bloatware which I downloaded the other night.
The XP firewall although set to allow networking didnt have ports 137-139 open so I opened them.
I created a new network on the XP machine and started from scratch.
Used the USB drive to load the new network info onto the Vista machine.
Laptop now shows network with lappy and desktop showing.
Selected 'add a printer' and up it popped under the desktop name.
Added the printer and the drivers sorted themselves. Job Done !!

I have no idea which individual action made the difference or if all of them played a part but it's now up and running. Thanks for all your inputs.

PS I know it's longwinded but I thought it may be helpful to anyone else having the same problem.

Avtrician
15th Feb 2008, 10:49
Well done, using the usb drive created the proper network environment to allow the share. I just do it manualy, but its difficult to tell how to, but easier to do ones self.

Now remember how to do it again, in about a month when micro stuffed forgets everything.:D:D:D

old fart
15th Feb 2008, 11:13
Excellent post! I had the same problem. After the download all sorted. Vista found my home computer and from then on all was plain sailing.
Many thanks!
Old fart

spannersatcx
22nd Mar 2008, 20:41
I have the same problem but with a canon ip4300, I do what hellsbrink has said and I get the message 'not enough server storage is available to process this command' any ideas please when adding the new port

spannersatcx
27th Mar 2008, 10:51
Have tried all sorts now, firewalls off etc, used a USB stick with the network setup on it, can see the printer in the network, can not get the vista laptop to add it keep getting 'windows can not connect to the printer, operation could not complete error 0x0000007b' andybody got any ideas?:{

Bushfiva
27th Mar 2008, 11:22
Exact HP model number, please, and are you running Vista 64?

mixture
27th Mar 2008, 11:35
I can tell you from painful experience that not all printers can be shared.

Printers that cannot be shared are usually the fancy, all singing, all dancing, scan/fax/print/make tea types ... (although there are a rare few that do come with network capability that works just fine)

Check the small print that comes with the printer drivers and/or the documentation, if the manufacturer is reputable (e.g. HP) then somewhere in the murky depths of all the technical text, they will explicitly state that it cannot be shared using windows file/print sharing.

spannersatcx
27th Mar 2008, 13:01
It's a canon Pixma iP4300, and it shares on the network with other xp machines, 1 laptop and a further desktop.

Saab Dastard
27th Mar 2008, 14:00
Can you add it to the Vista laptop directly? I wonder if it is a driver problem - Have you installed the Vista driver for the printer?

SD

spannersatcx
27th Mar 2008, 15:35
Yes it works off the laptop directly, have installed the vista drivers, can see it in the network, but for whatever reason it will not ad it as a network printer. Even installed the vista drivers on the xp machine, as suggested in another forum, still can't print to it.:ugh:

Saab Dastard
27th Mar 2008, 16:46
Has the account you are using on the Vista laptop got access rights to the printer object on the other PC?

Or I should say, does "Everyone" have access to the printer? Can you attach to other resources from the Vista laptop - e.g. map to a shared drive? Can you supply alternative credentials - e.g. details of an account on the PC to which the printer is attached?

SD

spannersatcx
27th Mar 2008, 17:11
vista laptop can access shared files/folders on xp machine and vv.

Can you supply alternative credentials - e.g. details of an account on the PC to which the printer is attached? sorry not sure what you mean?

hellsbrink
27th Mar 2008, 17:17
Spanners, did you install the printer drivers from CD?

Normally, when you search for and find a network printer Winders will download the appropriate files and then install them, get everything talking, etc. Now, I've had a Lexmark, a canon ip, and now an Epson AIO and an HP AIO networked here and I have had no issues regarding getting them to work. You must have made a mistake somewhere.

Saab Dastard
27th Mar 2008, 17:32
alternative credentials

When mapping a drive, you can elect to provide the account name and password of an account on the target PC when creating the mapping. This would help to identify if it is a permissions issue.

Try googling for "not enough server storage is available to process this command" and vista - and / or go to the MS site. There does seem to be a problem with network file and print sharing throwing up this error. Do you have
Event ID : 2011
Source : Srv
Description: The Server's configuration parameter "IRPStackSize" is too
small for the server to use a local device. Please
increase the value of this parameter.
in the Event log in either / both the Vista PC and / or the XP PC with the printer?

There is a registry key that can be added / modified to increase the IRPStackSize on the PC hosting the shared resource as well as the Vista PC. This may help to work around the problem.

SD