> Sam Dunster

Web/Mobile Applications Developer <

Apple/UNIX Systems Administrator <

Download DMG

lpreset

Updated - 6/09/2010

Fixes a case where printers weren't removed. Recommended update.

Description

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.

Requirements

Comments

Please submit any questions/bugs/suggestions using the form below - I like feedback.