Converts PDF files to PDF/A-1b or PDF/A-2b.
[Windows]
[Linux]
In the folder specified by the environment variable "PTL80_ICCPROFILE_PATH "
[Executing example commands]
Converts test.pdf to PDF/A-2b and outputs it as out.pdf.
[Windows]
AHPDFToolCmd80.exe -fixedUpPDFA -type 2b -RGBProfile sRGB2014.icc -CMYKProfile JapanColor2001Coated.icc -log -d c:\in\test.pdf -o c:\out\out.pdf
[Linux]
AHPDFToolCmd80 -fixedUpPDFA -type 2b -RGBProfile sRGB2014.icc -CMYKProfile JapanColor2001Coated.icc -log -d /home/antenna/in/test.pdf -o /home/antenna/sav/out.pdf
You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter. If a folder is specified, the PDF files in the input folder will be converted to PDF/A in the same format. Note that the output file will be output to the output folder with the same name as the input file name. The processing log file is also output to the output folder with the format of "input file name.log"
Parameter | Content |
---|---|
-type [1b/2b] | [required] Sets the type of PDF/A standard 1b: Converts to PDF/A-1b 2b: Converts to PDF/A-2b |
-RGBProfile [Profile name] | Sets the RGB color profile name Specify the full path. If only the file name is specified, it is assumed to exist at the same level as the command line. If not specified, on Windows, searches in the following order: In the folder containing PdfTk80.dll In the folder specified by the environment variable "PTL80_ICCPROFILE_PATH." On Linux, the folder specified by the environment variable "PTL80_ICCPROFILE_PATH" is searched. If it is not specified and there is no color profile in the search destination, an error will occur. |
-CMYKProfile [Profile name] | Sets the CMYK color profile name Specify the full path. If only the file name is specified, it is assumed to exist at the same level as the command line. If not specified, on Windows、searches in the following order: In the folder containing PdfTk80.dll In the folder specified by the environment variable "PTL80_ICCPROFILE_PATH" On Linux, the folder specified by the environment variable "PTL80_ICCPROFILE_PATH" is searched. If it is not specified and there is no color profile in the search destination, an error will occur. |
-log | Outputs the processing log to a text file. The output destination is the location specified with "-o." The file name will be the file name specified with "-o" with the extension changed to ".log" |