Printing from Windows 98 to a shared CUPS printer on Panther using SAMBA

  1. Edit the Samba configuration file to include the appropriate lines for CUPS printing (sudo pico /etc/smb.conf)
  2. Add browseable = yes to the [printers] section (so the printer shows up when browsing the network)
  3. Add 'use client driver = yes' to [printers] (don't know if this affects Windows 98 clients though)
  4. sudo chmod 777 /var/spool/samba should be 700?)
  5. Download the Adobe Postscript printer drivers for Windows 98
  6. Use unzip to decompress the exe file
  7. sudo mkdir /usr/share/cups/drivers
  8. Rename and copy in the appropriate downloaded files
  9. sudo mkdir /etc/samba/drivers
  10. Use cupsaddsmb -v -a to add the drivers to Samba (needs root username and password)
  11. Copy manually from /usr/share/cups/drivers to /etc/samba/drivers any files that didn't get copied (for some reason it was automatically looking for the ADOBEPS5 and not ADOBEPS4 files).
  12. Restart Windows Sharing and Printer Sharing in the Sharing pane of System Preferences.
  13. On the Windows 98 machine, browse the network to add the new printer. If it asks for a username and password, you have to make sure that there is an account with the same name on the Mac as you are logged in under on Windows 98.
  14. Or, download the Adobe Postscript drivers for Windows 98 as above and use the installer to add the new printer from the network. I guess this makes adding the drivers on the host unnecessary, but I'm not sure which drivers were actually used.

That's as much as I can remember, but it's possible there might have been something else in the trial and error process that made a difference, or that some of this isn't even necessary.