The Wikibooks page linked to by admin has, under its Samba section, only the world "FIXME". Not much help there Here's how I got it working. This guide seemed to be the most helpful for me, since the printer I wanted to use is on the network:
Adding a Network PrinterStill, it didn't use Samba, but only works for HP's. I like to use the more generic (although seemingly dependent printers on Windows computers) Samba interface when I can, even though I am connecting an HP printer. I guess the article helped me in showing me the interface usually used to do this. It seems most printer support is not already in Remix_OS. Here are the packages that I installed in Synaptic in order to get this to work:
system-config-printer-gnome
samba
system-config-samba
cups
cups-client
hplip
foomatic
When I first installed system-config-printer-gnome, I had a new System | Printing entry that I couldn't get to do much. Gathering that cups was the usual Linux printing subsystem, and that samba was how I wanted to find my printer, I installed cups and samba. I could then find the printer on samba, but the HP driver didn't work. Installing hplip gave me a list of printer models to choose from, as it seems to be a database of HP printer definitions. Finally, I got some error that Foomatic wasn't installed, so I went and installed it. You also won't be able to find any computers on your network until you set the correct workgroup name, which is "MSHOME" for these WinXP computers - but can be set to anything so long as they all are the same. While there are command line ways of doing it, I installed "system-config-samba" and started it with System | Samba. Preferences | Server settings allowed me to change the workgroup name, which is evidently not case sensitive, and gets converted into lowercase.
Now, I can use System | Printing, and click the "+" toolbar tool to add a printer. I choose Network Printer | Windows Printer via Samba and I browse for it. I have two choices for this printer, so I chose the one that had the specific model number. Click OK and Forward. Choose your make of printer, and probably make sure you have printer information for your make of printer installed. I chose "HP" and clicked Forward. I then could choose my exact model from the list, and clicked Forward. You then change the printer name or description if you want to. I now had a printer icon with the appropriate model in system-config-printer, and was asked if I wanted to print a test page. It worked, and Firefox even found the printer when I told it to print, without restarting. The printer worked fine.
This approach is a bit hackish, because it brings in a number of Gnome components. There will be an XFCE way of doing this too, but I don't know what it is. Presumably, some other package replaces "system-config-printer-gnome", and might hypothetically not need Foomatic. The KDE way of setting up printers might be better yet. That being said, this gets me up and printing.
The hplip-gui didn't find my network printer for me, and the foomatic-gui also didn't seem to do anything helpful for me, so I uninstalled them. I have yet to set up any shared folders, but will probably give it a try if nobody else posts a solution in the near to medium future.
Enjoy,
CodeLurker