Enable “Print Services for Unix” on Windows XP machine and share printer. (I’m not actually sure that this is necessary, it might be a red herring…)
When you add the printer in Ubuntu,
- Choose “Network Printer” and “Windows Printer (SMB)”
- put your Workgroup in the Host field
- Put “guest@<host>/<printer>” in the Printer field (replacing <host> and <printer> with your host & printer names)
So, for example, if your Windows machine was called “Dozer” and your printer was called “LaserPrinter”, you would put “guest@Dozer/LaserPrinter”.
You should not need a name and password for the Windows machine for this to work.
Note: please note that case-sensitivity is important.. e.g. If you think your machine name is “DOMINO”, it should be “Domino” in the config above.