I just spent a rather long time trying to get access to my Windows printers from within SUSE 10.2 using Samba.
I setup Samba for use with the file system and that seemed to work ok. I typed in my workgroup information and told it it was not a domain controller and it had no problem seeing the other computers in the work group and the shared drives / folders that they had. I did not have to type in a NetBIOS Hostname or any additional information. I got to it via the YaST dialog, under Network Services, Samba Server.
However, when it came time to do the printer, it wouldn't work properly.
It did not simply do a "browse" of the systems in the workgroup like it did for files. With files, it listed one of the computers, I selected it and all the folders that it shared were listed in their entirety.
Printers did not do the same thing though. I accessed it under the YaST dialog, under Hardware, Printer. I chose ADD, Network Printers, (next button) Print via SMB Network Server, (next button) and got to the main Samba or Windows Printer dialog.
Under Connection Information, it listed the following fields:
Workgroup
Hostname of Print Server
Remote Queue Name (with lookup button)
Username
Password
Since I have Simple File Sharing enabled in XP, a Username or Password is not needed.
So, I type in the workgroup name, the Hostname (which is the name of the machine as identified under System Properties under the Computer Name tab in that Windows dialog) and then clicked Look Up on the Samba screen.
It did not list anything but
print$. Nothing else showed up at all.
There is no "browse" function that would simply attach to the workgroup and look for any printers listed. For some reason you have to manually type in the Hostname for the computer you want to look at.
Long story shorter, I did a google search and ran across a tip - if it does not seem to recognize the Hostname of the computer you are sharing the printer from,
try typing in the IP address of that computer instead.
I typed in the IP addy of the PC and the next thing I knew, it listed the two attached laser printers after I clicked the Look Up button in the Samba dialog.
For whatever reason, it would ONLY work if I typed in that direct IP address.
So, I thought I'd post the info here just to share in case anyone has the same sort of issue. Perhaps a search of threads here will point folks to this post and help. I'd like to think I could save at least one person the hassle involved.
Sure would be nice if they had a Printer Browser that works like the Shares Browser, but I'm not the millionaire dot-com programming dude in charge of the Samba dialog, so hey, what do I know?
Xandros sure had no trouble browsing the network and letting me access the printers on my Windows machine.
Oh well, silly old Suse...
Happy printing!