StampPDF Batch returns the following numerical codes:
0 returns if:
- no errors occur
-1 returns under limited circumstances:
- If a poorly formed command was used
- If an evaluation version of the product has expired
- If you use only -v on your command line
1 (or greater) returns if a problem occurs with processing
The error codes are consistent with Adobe Acrobat’s standards when such errors occur. A description of the error can be found in the automatically generated error file.