Linux Commands Helper

💬 Your AI-powered Linux assistant

cancel Command - Cancel Print Jobs

The cancel command is used to cancel print jobs on a CUPS (Common UNIX Printing System) managed printer. It can cancel specific jobs or all jobs for a printer.

Syntax

cancel [options] [job_id|printer]

Examples

cancel 42

Cancel print job with ID 42.

cancel -a printer1

Cancel all jobs on printer1.

cancel -u username

Cancel all jobs for a specific user.

Notes

  • Requires appropriate permissions to cancel jobs submitted by other users.
  • Works with CUPS printing system; may not be available on all distributions by default.
  • Alternative commands for print job management include lpr and lprm.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame