2021.1

Table Of Contents
if (!resultAsTxt && !async) settings.dataType = "file";
if (printRange.length > 0) settings.url +=
"&printRange=" + printRange;
$.ajax(settings)
.done(function (response, status, request) {
if (async) {
var progress = null;
operationId = request.getResponseHeader
("operationId");
$submitButton.prop("disabled", true);
$cancelButton.prop("disabled", false);
c.displayStatus("All-In-One Operation
Successfully Submitted");
c.displayResult("Operation ID",
operationId);
var getProgress = function () {
if (operationId !== null) {
/* Get Progress of Operation */
$.ajax({
type: "GET",
cache: false,
url:
"/rest/serverengine/workflow/print/getProgress/" + operationId
})
.done(function (response,
status, request) {
if (response !== "done") {
if (response !==
progress) {
progress =
response;
$progressBar.attr
("value", progress);
}
setTimeout(getProgress,
1000);
Page 425