By using the command line application PDF to PDF/A Converter, you can easily convert the document of PDF which is not for long-term storage to PDF/A document which can better resolve the problem of saving archival documents for long time. The application also supports to set different parameters for output PDF/A document such as the PDF description. In this article, you will see the method of converting PDF to PDF/A and editing PDF description.
The command line application you should use can be downloaded at https://www.verydoc.com/pdf2pdfa_cmd.zip. This is only the free trial version and you should extract the file to some location of your computer. Then the executable file named as pdf2pdfa.exe can be seen in the package and it is the called program in the conversion.
There are only three steps in this conversion—Open MS-DOS interface, input the command line in MS-DOS interface and run the conversion. Now please see the following contents for showing the specific steps about converting PDF to PDF/A.
The first step—Open MS-DOS interface
There are two ways supplied for you to open MS-DOS interface. You can choose any one of them. One is to click “Start”—“Run” to open “Run” dialog box. Then please input “cmd” in “Open” combo box of “Run” dialog box and click “OK” button. You will see MS-DOS interface come out on the screen. The other way is to use the hot key “Window”+ “R” to open “Run” dialog box.
The second step—Input the command line
In the command line, there are only four parts—called program which is the executable file pdf2pdfa.exe mentioned above, parameter for editing PDF description, source file which is the PDF document you want to convert and target file which is the PDF/A document you will get. Please refer to the following command line example to write your own one.
pdf2pdfa.exe -creator mycreator C:\input.pdf C:\output.pdf
Note: In this command line, we take the PDF creator as one example of the PDF description.
- pdf2pdfa.exe stands for the called program.
- -creator mycreator is for setting PDF creator as “mycreator”.
- C:\input.pdf is the path of source file.
- C:\output.pdf stands for the name of target file.
If you want to edit other PDF description such as producer, subject, title, keywords, etc. you can also use the following commands:
-producer <string> : Set 'producer' to PDF file
-subject <string> : Set 'subject' to PDF file
-title <string> : Set 'title' to PDF file
-author <string> : Set 'author' to PDF file
-keywords <string> : Set 'keywords' to PDF file
The last step—Run the conversion
Please click “Enter” button to run the conversion from PDF to PDF/A at last. The target file will come out in the location you have specified in command line.
If you need to use all the functions of the command line application, you can buy it at its homepage https://www.verydoc.com/pdf-to-pdfa.html where supplies several licenses and you can choose any one of them according to your needs.