Updated - 6/09/2010
Fixes a case where printers weren't removed. Recommended update.
lpreset removes all mcx-created printers from the system at startup, effectively resetting all printers set via Workgroup Manager. During the next network logon the printers will be automatically recreated. It should remove all software-based printer problems such as paused printers and has the added effect of removing all print jobs from the queue at restart. Tested on Mac OS X 10.5 and Mac OS X 10.6.
The installer will install lpreset into /usr/local/bin, which is in the default Mac OS X $PATH, meaning you can launch it by typing lpreset at the command prompt (Terminal) where you will be asked for an admin password.
It also installs a launchd LaunchDaemon plist into /Library/LaunchDaemons which is responsible for launching lpreset at startup.
You can run this tool through ARD by choosing "Send UNIX command...", entering "lpreset" and entering "root" in the user field. Normally this would not be necessary however as lpreset is run on startup, so you can just tell your users to restart their machine to fix printing.
- Mac OS X 10.5 - 10.6 (untested on < 10.5).
- Client machines with printer settings managed by MCX (Workgroup Manager).
- Printer users must be network users - local users would normally get access to MCX printers as well, but this may not be the case if lpreset removes them on boot.
- Works best when computers are restarted/shut down regularly.
Please submit any questions/bugs/suggestions using the form below - I like feedback.