Logo Background

Unix Command Delete Print Job

  • By on May 8, 2009 | No Comments

    The Unix command below was used to delete the print job from printer defined in Unix machines.

    Use the cancel command to stop the printing of a file.

    To cancel a job, even if it’s already printing, use the lpstat command to find the job number.

    Then use the cancel command to kill that job.

    $lpstat oracle_svlj4
     
    printer queue for oracle_svlj4
     
    oracle_svlj4-5419    applprod       priority ?   from g010203
    o16385470.out                           137824 bytes
    oracle_svlj4-5420    applprod       priority ?   from g010203
    o16385470.out                           137824 bytes
     
    g010203c: oracle_svlj4: ready and waiting
     
    $ cancel oracle_svlj4-5419

    Note: Unless you have system administration privileges, you can remove only print jobs that you have submitted, not jobs submitted by other users.

    Previous
    Next
    » Unix Disk Space Usage Command
Leave a Comment