Secure Global Desktop Administration Guide > Applets > cancelCurrentJob (print applet)

cancelCurrentJob (print applet)

Syntax

boolean 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

result = cancelCurrentJob();

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

Related topics