April 21, 2019

Overhauling CUPS: Pushing Windows Printer Drivers - page 7

The Easy Way: Buy The Right Printer

  • July 27, 2006
  • By Carla Schroder

Go back to your smb.conf and make a small but very important change. Change security = user to security = share. If you don't, you'll have to set up Samba users and passwords for all of your users.

Restart CUPS and Samba, and rejoin the network:

# /etc/init.d/samba restart
# /etc/init.d/cupsys restart
# ifup eth0

Give Samba a minute or two to broadcast itself to your LAN. Then go to any Windows PC on your LAN, run the Add Printer Wizard, and voila! Automatic printer installation from the Samba server.

If you get a message like "the printer server does not have the correct printer driver installed" you have a couple of options. First, test the offending .ppd file with the cupstestppd command. PPD files are plain text files, so if you can find an error you can fix it.

Another option is to search for a .ppd file that Windows will accept. You might find this on another Windows PC, on the same Adobe page where you downloaded the Postscript drivers, or on linuxprinting.org.

Finally, the worst-case scenario is you have to hunt down a driver CD, and don't forget your Windows CD, and install the drivers locally. True, this means leaving the lair, but with a bit of luck it won't happen often.


  • CUPS.org
  • The Official Samba-3 HOWTO and Reference Guide

This article originally appeared on Enterprise Networking Planet, a JupiterWeb site.

Most Popular LinuxPlanet Stories