When the Mac Print Queue Freezes
macOS relies on the Common UNIX Printing System (CUPS) to handle all printing jobs. While generally stable, the CUPS spooler can occasionally crash when dealing with massive PDF files, corrupted images, or network drops during a wireless print job. When this happens, the document becomes permanently stuck in the queue with a status of “Printing – looking for printer.”
You can usually open the Printers & Scanners settings, open the print queue, and click the small “X” to delete the job. However, if the underlying CUPS daemon is completely frozen, the GUI buttons will simply stop responding. To forcefully purge the entire queue and reset the subsystem, you must turn to the Terminal.
The Force Cancel Command
The cancel command is a built-in CUPS utility designed to manipulate print jobs directly from the command line, bypassing the macOS graphical interface entirely.
- Open the Terminal application (located in Applications > Utilities, or searchable via Spotlight).
- Type the following command exactly as written:
cancel -a -
- Press Enter.
Understanding the Syntax
cancel: The core binary used to stop print requests.-a: The “all” flag. This tells the command to target every single print job across all configured printers, rather than a specific job ID.-: The trailing hyphen is incredibly important. In the CUPS syntax, the hyphen represents “all destinations.” Without it, the command might only cancel jobs on the default printer.
Handling Permission Errors
If you execute the command and the Terminal returns an error stating cancel: Operation failed: client-error-not-authorized, it means a system-level administrative process has hard-locked the print spool file. You must elevate your privileges to forcefully break the lock.
Run the command again using sudo:
sudo cancel -a -
Press Enter, type your Mac login password (it will remain invisible as you type), and press Enter again. The queue will be instantly and violently purged. If you open your Printers & Scanners preferences, you will see that all stuck documents have completely vanished from the list.