Wednesday, July 11, 2007

Added a Printer but Can't Share It with Vista

There comes a time when you want to get information from the computer screen to paper. To do this you have to install a printer. I thought I'd have more trouble than I did but it was easy. I had an older HP Laserjet 1100 that uses the parallel port and I wanted to install it locally. I also want to share it so that my Linux Laptop and MS Windows Laptop can use it. Here's what I've done so far;

Add the printer locally;

0. I had to reset my computer and change my BIOS settings under PORTS-->Parallel setting it to the EPP Mode. (I read on-line before I installed the printer and this suggestion showed up in several articles so I made the change before I started).

1. Goto SYSTEM-->Administration-->Printing

2. This will open a new window. Double Click on NEW PRINTER. Next you will be presented with a three step wizard (Add New Print Wizard)

3. Wizard Step 1. Pick either Local/Detected Printer or Networked Printer. I choose Local, then clicked the Forward button.

4. Wizard Step 2. Pick your printer Manufacture and your pinter Model. Ubuntu suggested a Printer Driver for me (ljet4). The list of printers, models, and drivers looks pretty extensive but I'm sure not every modern printer will be full supported but you should be able to find a combo that will get you working. Click Forward

5. Wizard Step 3. Name your printer, give it a "friendly" Description and a Location. The printer name is the important part here since you will have to use it if you Share it on your network. Ubuntu suggested mine be named Laserjet-1100 and that was good to me. I assume that the name is case sensitive like everything else in Linux. Click Apply

If this is the only computer that will use the printer, you are done. You can Right Click on the printer in the SYSTEM-->Administration-->Printing window and change all the default settings and paper handling options for your printer. You can also change your driver setting and printer name.

I wanted my printer shared on my network So I had to plow on. I've ran into some trouble sharing the printer. I went to SYSTEM-->Administration-->Printing then Single Clicked on my printer (selecting it) and then clicked on Global Settings and checked the Share Printers option in the menu.

I then went to my MS Windows Laptop (running Vista) and tried to add the newly shared linux box printer. I went to START-->Printers-->Add New Printer. I told Vista that it was a Network Printer and it searched for all shared printers on my network. None were found. I figured this would happen so I told Vista that I would manually enter the printer location. I typed //LinuxBoxName/Laserjet-1100 (remember the Name from Wizard Step 3 above?). Vista thought about this for a second, sent out some packets on the network, then asked me for a User Name and Password to connect to this printer. Ok, I figured it wanted my LinuxBox User/Pword. Tried it and it didn't work. I tried the VistaBox User/Pword it didn't work. Remembering how MS windows likes to have DomainName/UserName or ComputerName/UserName, I tried LinuxBox/UserName and LinuxBoxPword , it didn't work !!!

It appears that Vista can see the LinuxBox on the network and can see it's printer but the LinuxBox wants a password to access the printer. I can't figure out how to get Vista to give the LinuxBox that User/Pword. I've read about it online and saw where Linux use a program called CUPS. To access CUPS you start a Browser and type http://localhost:631/printers/Laserjet-1100 as the Address (replace Laserjet-100 with your printer name). I have explored CUPS a little and can even access the CUPS interface from the VistaBox (http://LinuxBoxName:631/printers/Laserjet-1100) but still can't add the LinuxBox Printer to the VistaBox.
This is where I'm stuck.

This weekend I will try to add the LinuxBox Printer to the LinuxLaptop and see if it's just a Vista thing.

2 comments:

Enos Straitt said...

Any success with the suggestions I e-mailed you?

Unknown said...

I faced the same problem with my printer. I thought it was canon printer driver problem and updated the driver but Canon Printer Error 5200 message shown on my system screen. If anyone has any solution then suggest to me.