Running EscapeE from a program

Top  Previous  Next

If a program calls EscapeE and waits for it to complete, it can obtain the exit code using the Windows GetExitCodeProcess call. The code is normally zero. A positive error code indicates an I/O or system error; a negative number indicates an internally generated error code. In the case of an error when running in continuous mode or when the /X option is supplied there will be an entry in the ERROR.LOG file, see Command line syntax.

Note:

When calling EscapeE from another program the /X option must be specified to cause EscapeE to exit after processing the specified file(s).

     1  Illegal file name

     2  File not found

     3  Illegal path or directory not found

     4  Too many open files

     5  File access denied

     6  Invalid file handle*

   12  Invalid file access code*

   15  Invalid drive letter

   16  Cannot remove current directory

   17  Cannot rename across drives

   32  File open to another user

  100  Reading from or writing to a file that is not open*

  101  Not enough disc space

  102  Attempting to open a file that has no name assigned*

  103  Reading from or writing to a file that is not open*

  104  Reading from a file that is not open*

  105  Writing to a file that is not open*

  106  Invalid numeric format

  129  Device timed out

  150  Trying to write to a write-protected diskette

  151  Unknown device*

  152  No response from device

  153  Unknown device command*

  154  CRC error: a hardware problem in reading data

  155  Bad drive request structure*

  156  Disc seek error

  157  Unknown media type*

  158  Sector not found or diskette is not formatted properly

  159  Printer out of paper

  160  Device write fault

  161  Device read fault

  162  Hardware error or file open to another user

  199  Premature end of file encountered

  200  Division by zero*

  201  Range check error*

  202  Stack overflow error

  203  Not enough memory

  204  Invalid pointer operation*

   -1  No file name given

   -2  Bad file format

   -3  Wrong file type

  -11  Key not found*

  -12  Record too large for buffer*

  -13  End of file*

  -14  Bad key*

  -15  Bad Keyfiles version*

  -16  Record too large*

  -17  Operation not allowed*

  -18  Internal fault*

  -19  File not open*

  -29  Bad disc address*

  -30  Bad block*

  -31  Bad forward link*

  -32  Bad backward link*

  -33  Bad last block address*

  -34  Bad record header*

  -35  Newly allocated block already exists*

  -36  Block is of wrong type*

  -37  Bad backward link*

  -38  Bad forward link*

  -39  Bad disc address of self*

  -40  Bad file identifier*

  -41  Block remains locked*

  -42  Incorrect index*

-101  Null image specified

-102  Unsupported compression mode for type of image

-103  Too many strips

-104  Faulty image

-105  Unable to access raster

-120  Unknown option

-121  No fields defined

-122  Invalid page range specified

-123  Cancelled by user

-124  Error return from an export module (e.g. PDF, PCL or PostScript)

-125  Error return from the XML export module

-126  Error in converting to an FDL form

-127  Error converting to an image

-130  TCP/IP error

-131  Error return from a plugin

-132  Invalid font substitute file

-133  Printing beyond page bounds

-134  Unknown PCL command

-135  Unsupported printer language

-136  Missing Fonts

-137  Unsupported Download Font Format

-138  LZW compression not authorised

-139  AFP error

-200  Not a TIFF file

-201  Unexpected end of TIFF file

-300  Not a font database file

-301  Wrong database file version

-302  No suitable char encoding found

-303  Bad TrueType font

-304  Inconsistent char encoding between fonts with same name

-305  This type of database cannot be merged with yours

-306  Characters too large to generate

Codes marked with an * indicate internal errors - in the unlikely event that you encounter one, please contact help@redtitan.com


See also

Running EscapeE from the command line

Command line syntax