how to connect windows shared remote printer on Xubuntu 11.10

Asked by larrycrimmins

can't get connection to shared Windows printer

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
#1
Revision history for this message
larrycrimmins (lcrim) said :
#2

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.
Larry

Revision history for this message
Chris (fabricator4) said :
#3

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.

Chris

Revision history for this message
larrycrimmins (lcrim) said :
#4

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.
Larry

Revision history for this message
Chris (fabricator4) said :
#5

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.

Chris.

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.