Upgrading from AFP2PDF to AFP2PDF Plus Transform

The Java jar file, Upgrade.jar, is an executable program that upgrades C/C++ AFP2PDF transform to AFP2PDF plus.

Upgrade.jar performs these steps to upgrade from AFP2PDF transform to AFP2PDF Plus:

  1. Backs up executable modules in C/C++ AFP2PDF transform:

    1. Creates a native backup folder in the C/C++ AFP2PDF install directory. If the native_backup\ folder exists, the backup folder name appends “-1”, that is, native_backup-1\. The maximal iteration of appending is 9 times of ”-1”.

    2. Moves all existing license\folder and java_api\folder in C/C++ install directory to the backup folder.

    3. Moves all AFP2PDF* and split_afp2pdf* to the backup directory.

  2. Copies AFP2PDF plus modules, documents, server configuration file and property files to the C/C++ AFP2PDF install directory:

    1. Copies AFP2PDF or AFP2PDF.exe to the C/C++ AFP2PDF install directory.

    2. Copies *. jar files to the C/C++ AFP2PDF install directory.

    3. Copies LICENSE/* to the C/C++ AFP2PDF install directory.

    4. Copies *.sh or *.bat to the C/C++ AFP2PDF install directory.

    5. Copies *.properties to the C/C++ AFP2PDF install directory.

    6. Copies Server.cfg to the C/C++ AFP2PDF install directory.

    7. Copies AFP2PDF_Plus_UG.pdf to the C/C++AFP2PDF install directory.

    8. Copies a2pxopts.cfg to the C/C++ AFP2PDF install directory.

    9. Copies a2pclient.cfg to the C/C++AFP2PDF install directory.

Usage
The jar file Upgrade.jar must be in the AFP2PDF plus directory. From the AFP2PDF plus directory, run the command:java –jar Upgrade.jar <C/C++ afp2pdf install directory>. If no parameter is given, this message is displayed: Upgrade the C/C++ AFP2PDF transform to Java transform (AFP2PDF Plus).
Important: You need to run the jar file Upgrade.jar in the AFP2PDF Plus installed directory.