how to connect windows shared remote printer on Xubuntu 11.10

Asked by larrycrimmins

can't get connection to shared Windows printer

Question information

English Edit question
Ubuntu samba Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
Revision history for this message
larrycrimmins (lcrim) said :

I have an Ubuntu laptop and a Xubuntu laptop both trying to print to a WinXP netbook advertizing an HP LaserJet P1006 (very common driver). Printing is not reliable. All on same subnet. Samba loaded on both linux clients. Not sure what else to try.

Revision history for this message
Chris (fabricator4) said :

Edit /etc/samba/smb.conf and change the workgroup name to your windows workgroup as you have it on the Windows laptop.

restart samba:
sudo /etc/init.d/smbd restart

Install the printer, selecting the location as a samba printer then selecting the host system and printer by name. If you can't select the Host or the printer, check your Windows setup.

This is the easiest and most reliable way to do it if you just want access to a Windows shared printer.


Revision history for this message
larrycrimmins (lcrim) said :

The linux OS' cannot connect to the WinXP printer. The suggestions were tried but did not help. Can ping the IP address but can't connect to printer. Connection is refused. Just shut off Windows FW, no help. Very disappointing.

Revision history for this message
Chris (fabricator4) said :

Just entering the workgroup name in smb.conf will work every time. It's the simplest way of using a windows printer.

Make sure you type the workgroup into smb.conf _exactly_ as it is on the windows machine. This is normally all capitals. As stated, if you can't see the windows workgroup and the printer under samba when you install the printer, check your setup on the windows machine and the workgroup name. It might take a minute or two to register the workgroup after you reset samba.


Can you help with this problem?

Provide an answer of your own, or ask larrycrimmins for more information if necessary.

To post a message you must log in.