In this chapter…
…we present a collection of common problems and solutions. If you are having problems running StampPDF Batch, consult this chapter first. If nothing here solves the problem, refer to Support – StampPDF Batch.
Before proceeding, if you are having problems with your PDF files, check that they are well-formed, and not corrupt. See Cleaning up PDF Documents below.
- If you have encrypted files, you must pass the Owner Password to StampPDF Batch to stamp them. You provide the Owner Password with the -d <owner password> command line option.
- The name of the stamp file must precede the name of the PDF document to be stamped on the command line. The stamp file will generally have a .txt extension and the PDF document will have a .pdf extension. StampPDF Batch will not work properly if the PDF document name precedes the stamp file on the command line.
- When using the log file option, -l <logfile>, there must be a log file name. If there is no file name, StampPDF Batch will recognize the text string immediately following the -l as the name of the log file, which may cause an unintended result.
- When using the output file option, -o <outfile>, be sure to have an output file name. If the -o is used without an accompanying filename, StampPDF Batch will use whatever text string that follows as the name for the output file, again causing an unexpected result.
- Make sure all file and path names are correct. If you are working in one directory and StampPDF Batch resides in another, you must account for that in your stamp file and command line. We recommend that you always use full paths to all files used in your stamp files as well as to the input, output, and log files.
- If you get an error from StampPDF Batch that the file was unable to write, check to make sure that the file isn’t open in Adobe Acrobat or any other application. Also be sure the file is not set as read-only or encrypted.
- StampPDF Batch only stamps PDF documents. Any attempt to stamp a file that is not PDF will fail. Be aware of this if you are using wildcards to specify filenames.
- Be aware of “special characters” that may cause problems with filenames and names for the UndoLabel. Avoid use of the following characters when naming log files, output files or UndoLabels for undoing stamps: \ / : * ? ” < > | ^ &.