Overhauling CUPS: Pushing Windows Printer Drivers - page 7
The Easy Way: Buy The Right Printer
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.
- The Official Samba-3 HOWTO and Reference Guide
This article originally appeared on Enterprise Networking Planet, a JupiterWeb site.
- 1Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 2Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 3Linux 4.6 Charred Weasel adds USB 3.1 Support
- 4Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader
- 5Linux Top 3: KaOS 2016.04, TurnKey 14.1 and pfSense 2.3