When running conversion jobs on the command line, the MS-DOS ERRORLEVEL variable is set upon return this error level.

You can extract the error code as follows:

PNFCC6.EXE /Q /N /J="C:\FCCTest\Job.fcc6"

echo %ERRORLEVEL%

 

Error Code

Value

Description

EXITCODE_SUCCESS

0

The conversion ran successfully.

EXITCODE_FAIL

1

The conversion failed. One or more of the documents failed to convert.

EXITCODE_FAILED_INITIALIZATION

2

The application could not be initialized.

EXITCODE_INVALID_PARAMETERS

3

Invalid parameters were specified.

EXITCODE_PROFESSIONAL_VERSION_ONLY

4

Command line arguments /Q, /N or /X were used. These options are only available in the professional version.

EXITCODE_INVALID_LICENSE

5

The license is invalid.

EXITCODE_EXPIRED_TRIAL

6

The trial period has expired.

EXITCODE_FCC_PRINTER_NOT_FOUND

7

The PEERNET File Conversion Center printer is not installed.

EXITCODE_USER_NEEDS_MANAGE_PRINTER_PRIVS

8

Access to the printer is denied. Manage Printers privileges is required on the File Conversion Center printer.

EXITCODE_COULD_NOT_RUN_JOB

9

The job could not be run.

EXITCODE_INVALD_LOG_FILE

10

An invalid log name was given for the /L parameter.

EXITCODE_COULD_NOT_LOAD_JOB_PROFILE_MGR

11

Could not load job profile manager.

EXITCODE_COULD_NOT_LOAD_DEFAULT_PROFILE

12

Could not find a default profile.

EXITCODE_COULD_NOT_LOAD_PROFILE

13

Could not load the job profile passed in through the /P parameter.

EXITCODE_COULD_NOT_LOAD_JOB

14

Could not find job file passed in using the /J parameter.

EXITCODE_INVALID_OUTPUT_DIRECTORY

15

The output directory passed using the /O parameter is invalid or cannot be accessed.

EXITCODE_INVALID_FILE_FILTER_LIST

16

Invalid filter list passed using the /F parameter.

EXITCODE_INVALID_SUBFOLDER

17

The argument passed to the recurse subfolder parameter, /S, is invalid.

EXITCODE_INVALID_MAINTAIN_FOLDER_STRUCTURE

18

The argument passed to the maintain directory structure parameter, /M, is invalid.

EXITCODE_COULD_NOT_FIND_IMPORT_FILE

19

Could not find import file passed in using the /I parameter.

EXITCODE_FAILED_LOADING_FILES_FROM_CMD_LINE

20

Could not find the items listed on command line.