WINDOWS EXIT CODE MAPPING
SwiftView’s exit codes and error messages are easily accessible using the Event Viewer in Windows.
To view them go to Control Panel > Administrative Tools > Event Viewer > Application > SwiftView Tools
The exit codes returned to the Windows subsystem map directly to the numbers listed on the chart below.
UNIX EXIT CODE MAPPING
For UNIX/Linux systems take the program exit code returned by the UNIX shell (reported with echo $?) and subtract 256 to map to the chart below.
Example: Unix shell $? returns 161, 161-256=-96 : -96 /* BAD PARAMETER */
EXIT CODES
0 /* NO ERROR */
-1 /* GENERAL FAILURE */
-20 /* File is PDF */
-21 /* system command could not start process */
-22 /* PCL files too long for page caching */
-23 /* Lite, without overriding Convert batch */
-24 /* Convert batch/Pro only */
-25 /* Convert batch only */
-27 /* Pro gui only */
-28 /* batch (svutil/sview -c) only, not Pro */
-29 /* This feature not licensed */
-30 /* This feature not licensed */
-31 /* This Pro-gui/traditional feature not licensed */
-32 /* This Pro-batch/traditional feature not licensed */
-33 /* This new Pro-gui feature not licensed (obsolete, use EC_NO_PRO) */
-34 /* This file type not licensed in Lite */
-35 /* This feature not licensed in Lite */
-36 /* Printing to original disallowed */
-37 /* No document loaded */
-38 /* Cant save this file to this format */
-39 /* File is a PCL3 file */
-40 /* Printing disallowed */
-41 /* Error message already displayed. */
-42 /* Search string too long. */
-43 /* PRINTER SUBSYSTEM: could not close file */
-44 /* PRINTER SUBSYSTEM: could not output data */
-45 /* PRINTER SUBSYSTEM: could not open system */
-46 /* PRINTER SUBSYSTEM: could not open file */
-47 /* Got a dangerous command from http: */
-48 /* Regular expression syntax error */
-50 /* File is a postscript file */
-51 /* Text is unusable */
-52 /* Writing file */
-53 /* Search found not string */
-54 /* No search string */
-55 /* No selectable text */
-56 /* Undefined printer number */
-57 /* No default printer defined */
-58 /* ICS command too long */
-59 /* ICS files nested too deep */
-60 /* ERROR READING FILE DATA */
-70 /* Invalid port number */
-71 /* USR missing host name/address */
-72 /* Only one server a a time */
-73 /* SERVER DOES NOT RESPOND */
-74 /* HOST DOES NOT RESPOND */
-75 /* NET UNREACHABLE */
-76 /* EVAL COPY IMAGE SERVER TIME EXPIRED */
-77 /* UNRECOGNIZED IP ADDRESS */
-78 /* TCP PORT DID NOT OPEN, REASON UNCLEAR */
-79 /* COMMUNICATIONS LINK FAILURE */
-80 /* GENERAL PURPOSE ERROR */
-81 /* CLIENT TIMED OUT WAITING */
-82 /* COMM LINK CORRUPTING DATA */
-83 /* CUSTOM PROCESS DID NOT RET FILENAME */
-84 /* THE FILE NAME HAS A BAD FORMAT */
-85 /* SERVER CANNOT PROCESS FILENAME */
-86 /* AUTOMATIC DOCUMENT FEEDER ERROR */
-87 /* SDI SCANNER ERROR – CHECK k_err */
-88 /* ERROR WRITING OR READING PCL FILE */
-89 /* ERROR WRITING OR READING TIFF FILE */
-90 /* ERROR WRITING OR READING HPGL FILE */
-91 /* FILE TYPE NOT SUPPORTED */
-92 /* FILE TYPE UNKNOWN */
-94 /* NO FILE FOUND */
-95 /* BAD COMMAND */
-96 /* BAD PARAMETER */
-97 /* MISSING PARAMETER */
-98 /* GOST ERROR – CHECK d_error */
-99 /* NO MEMORY ERROR */
-102 /* ILLEGAL OPEN MODE */
-104 /* ERROR READING */
-105 /* ERROR SEEKING */
-106 /* BAD SEEK ORIGIN */
-108 /* file permission error */
-109 /* image server access disallowed*/
-110 /* file locked */
-111 /* misc invalid paths to file */
-113 /* misc file access errors */
-114 /* out of memory in file access */
-115 /* error writing */
-116 /* image server writes disallowed*/
-117 /* library internal error, bad! */
-118 /* Local document read disallowed */
-119 /* SwiftServe 3.0 access only */
-120 /* ERROR SENDING DATA */
-121 /* INCORRECT HANDLE VALUE */
-122 /* FILE NOT OPEN */
-123 /* TIME OUT ERROR */
-124 /* RECEIVED BAD DATA */
-125 /* FILE NAME INCORRECT LENGTH */
-126 /* CLIENT MESSAGE GARBLED */
-127 /* NEGATIVE RESPONSE */
-128 /* GUI FORCED TERMINATION */
-129 /* EVALUATION COPY TIME EXPIRED */
-130 /* UNABLE TO RESTART SERVER */
-131 /* Out of sv_Redirect file handles*/
-140 /* New file exists, or can’t create */
-141 /* Old rename file does not exist */
-142 /* Rename attempt failed */
-150 /* pre-SwiftServe 3.0 access only */
-151 /* over SwiftServe connection limit */
-152 /* SwiftServe license service not enabled */
-153 /* license service not implemented */
-154 /* File license bad */
-155 /* zip/gzip decompression error */
-156 /* Unsupported file operation */
-157 /* no http support */
-158 /* winINET workaround needs more cache */
-159 /* winINET could not be loaded */
-160 /* License expired */
-161 /* License support expired */
-162 /* Corporate file license not matching */
-163 /* winINET access failure */
-164 /* winINET invalid cert auth */
-165 /* Unable to access files at this server */
-166 /* no matching (node-locked) license is found */
-167 /* user cancel (winINET dialog) */
-168 /* License line too long */
-169 /* No license file */
-170 /* no matching (LAN) file server hostname is found *
-71 /* trying to seek on a pipe */
-72 /* not a valid file handle */
-73 /* broken pipe */
-74 /* LAN license is found with no hostnames */