There are a few different commands that can be used to sent print jobs to the printer.
The lpq command can be used to view and cancel print jobs in the print queue.
The lprm command can be used to remove a print job. In this example, the print with Job ID 3 is removed.
The - character removes every print job in the queue.