Mac OS X Server 10.4 and 10.5: How to remove print jobs from the CUPS queue directory

  • Last Modified: December 30, 2008
  • Article: HT1513
  • Old Article: 307417

Summary

Print jobs may occasionally remain in the CUPS queue directory found at (/var/spool/atprintd/) .

On busy print servers, this directory may contain many files, potentially taking up large amounts of disk space.

Products Affected

Mac OS X Server 10.4, Mac OS X Server 10.5

To clear out these jobs, execute the following command in Terminal:

sudo find /var/spool/atprintd/* -mtime +1 -exec rm {} \;

Alternatively, you can add the above command as a cron job or launchd item to be run on a schedule. Type man 5 crontab or man launchd.plist for information about using cron or launchd to automate the running of this command.

Not helpful Somewhat helpful Helpful Very helpful Solved my problem