You can launch an external program to post-process the generated AFP files. For example, you can convert the created AFP files to PDF files by executing the AFP2PDF_Cmd.exe converter. To specify parameter is easy, %f stands for a generated AFP file, and it is required as a default parameter for the external program. You can add other parameters such as,
%f /Q /PDFA
NOTE: %f should not be missing.