Report issue Add example

cancel

Cancel an existing print job.

Description

The cancel command is used to cancel an existing print job.

Syntax

cancel [options] [parameters]

Options

-a: Cancel all print jobs.
-E: Force encryption when connecting to the server.
-U: Specify the username to use when connecting to the server.
-u: Specify the user to whom the print jobs belong.
-h: Specify the server name and port number to connect to.

Parameters

Print Job ID: Specify the ID of the print job to be canceled.