12-30 -validatePDFA: Validating PDF/A

Processing

Validates whether the PDF file complies with the specified PDF/A standard.

The command "-validatePDFA" can validate for compliance with the following PDF/A standards:

[Processing Details]

  • Use -type to specify which PDF/A standards to validate for compliance.
  • If the input PDF is not compliant with the specified PDF/A and an error occurs during compliance check, an error code and error message will be output.
  • If no compliance errors occur, "ok!" is displayed.
  • By using a processing log, you can record error codes and error messages during compliance checks in the form of a text file. Specify the processing log output with -log.
  • When outputting a processing log, it will be output as a text file with the name of "input file name.log" in the same folder as the input file.

Note:

  • The setting for outputting file (-o) is not required to run this command.

Example of commands

[Executing example commands]

Checks if out.pdf is PDF/A-2b compliant. Outputs the processing log to the same location as the input file specified with -d with the file name "input file name.log"

[Windows]

AHPDFToolCmd80.exe -validatePDFA -type 2b -log -d c:\out.pdf

[Linux]

AHPDFToolCmd80 -validatePDFA -type 2b -log -d /home/antenna/out.pdf

Folder settings: applied

You can perform batch processing by specifying the input folder with the -d parameter.

If a folder is specified, a compliance check will be performed on the PDF files in the input folder. If -log is specified, each processing log file is output to the output folder in the same folder as the input file in the "input file name.log" format.

Parameters

Parameter

Content

-type {1a|1b|2a|2b|3a|3b}

[required]
Sets the type of PDF/A standard

1a: Checks PDF/A-1a compliance
1b: Checks PDF/A-1b compliance
2a: Checks PDF/A-2a compliance
2b: Checks PDF/A-2b compliance
3a: Checks PDF/A-3a compliance
3b: Checks PDF/A-3b compliance

-log

Can be omitted.
If specified, outputs the processing log to a text file.

The output destination is the same level as the input file specified with "-d." The file name will be the file name specified with "-d" with the extension changed to ".log"

Please enter alt text.