PDRemoteStream.Read[request.fileName, request.requestor, request.requestorPassword, Action !
PDRemoteStream.Error => {
message: LONG STRING ← [160];
String.AppendString[message, request.fileName];
String.AppendString[message, " "];
String.AppendString[message, expl];
PDQueue.LogMessage[message, requestNumber];
CONTINUE;
};
PDInterpReader.Error => {
message: LONG STRING ← [160];
String.AppendString[message, "PD file error: "];
String.AppendString[message,
SELECT code
FROM
invalidPassword => "Not a PD file",
objectOutOfBounds => "Object out of bounds",
missingStartImage => "Missing start image",
badLoadReference => "Bad load reference",
unrecognisedImagingCommand => "Unrecognised imaging command",
loadOutOfBounds => "Load out of bounds",
unrecognisedControlCommand => "Unrecognised control command",
unrecognisedCommandType => "Unrecognised command type",
unexpectedEOF => "Unexpected EOF",
runGroupTooLong => "Run group too long",
bitmapTooBig => "Bitmap too big",
deviceCommandTooBig => "Device command too big",
ENDCASE => "??"
];
String.AppendString[message, " wordIndex: "];
String.AppendLongDecimal[message, wordIndex];
String.AppendString[message, " wordCount: "];
String.AppendLongDecimal[message, wordCount];
PDQueue.LogMessage[message, requestNumber];
CONTINUE;
};
PDInterpReader.Warning => {
message: LONG STRING ← [160];
String.AppendString[message, "PD file warning: "];
String.AppendString[message,
SELECT code
FROM
wrongFormatVersion => "Wrong version of PD file format",
unreasonableResolution => "Unreasonable resolution",
unreasonableBandSSize => "Unreasonable bandSSize",
unreasonableImageSize => "Unreasonable imageSize",
unreasonableLoadSize => "Unreasonable loadSize",
unreasonableNumberOfCopies => "Unreasonable number of copies",
objectOutOfBand => "Object out of band",
emptyRunGroup => "Empty run group",
nonZeroFill => "Non-zero fill",
imageBoundsExceedPageBounds => "Image bounds exceed page bounds",
tooFewBands => "Too few bands",
unknownColorTileFlag => "Unknown color tile flag",
ENDCASE => "??"
];
String.AppendString[message, " wordIndex: "];
String.AppendLongDecimal[message, wordIndex];
String.AppendString[message, " wordCount: "];
String.AppendLongDecimal[message, wordCount];
PDQueue.LogMessage[message, requestNumber];
RESUME;
};