Skip past navigation linksSecure Global Desktop Administration Guide > Applets > cancelCurrentJob (print applet)

cancelCurrentJob (print applet)

Syntax

Skip past command syntax or program codeboolean cancelCurrentJob()

Description

The cancelCurrentJob method cancels the most recent print job in the Secure Global Desktop print queue. cancelCurrentJob reports success or failure by returning true or false.

Examples

Skip past command syntax or program coderesult = cancelCurrentJob();

Sets result to true or false depending on whether the job was successfully canceled.

Related topics