-
cancel()
-
Cancels a print job.
-
getId() → {number}
-
Gets the print job's id.
Returns:
The job's id
-
Type
-
number
-
-
Gets information about the print job.
Returns:
-
Type
-
siteKiosk.printing~PrintJobInfo
-
isBlocked() → {boolean}
-
Gets whether this print job is blocked. Such a print job is halted
due to an abnormal condition. You can request a cancellation.
Returns:
Whether the print job is blocked.
-
Type
-
boolean
-
isCanceled() → {boolean}
-
Gets whether this print job is cancelled. Such a print job was
cancelled as a result of a user request. This is a final state.
You cannot restart such a print job.
Returns:
Whether the print job is cancelled.
-
Type
-
boolean
-
isCompleted() → {boolean}
-
Gets whether this print job is completed. Such a print job
is successfully printed. You can neither cancel nor restart
such a print job.
Returns:
Whether the print job is completed.
-
Type
-
boolean
-
isFailed() → {boolean}
-
Gets whether this print job is failed. Such a print job is
not successfully printed due to an error. You can request
a restart.
Returns:
Whether the print job is failed.
-
Type
-
boolean
-
isQueued() → {boolean}
-
Gets whether this print job is queued. Such a print job is
ready to be printed. You can request a cancellation.
Returns:
Whether the print job is queued.
-
Type
-
boolean
-
isStarted() → {boolean}
-
Gets whether this print job is started. Such a print job is
being printed. You can request a cancellation.
Returns:
Whether the print job is started.
-
Type
-
boolean
-
restart()
-
Restarts a print job.