Importing and exporting PDF Generator configuration files importing-and-exporting-pdf-generator-configuration-files

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

The configuration file contains the PDF Generator conversion information, including the PDF, file type, and security settings.

NOTE
You cannot change the time-out setting for PDF Generator by importing a custom native2pdfconfig.xml file. The time-out setting in that file is for informational purposes only, and displays the current setting in PDF Generator. To change the time-out setting, see “Setting PDF Generator performance parameters” in Installing and Deploying AEM forms.

Export your current configuration file export-your-current-configuration-file

  1. In administration console, click Services > PDF Generator > Configuration Files > Export Configuration.

  2. To export the settings, select the appropriate option:

    • To export all named settings, select Download Entire Configuration.

    • To export only one Adobe PDF setting, security setting, or file type setting, select Download Minimal Configuration.

      If you are exporting a minimal configuration, select the Adobe PDF, security, and file type settings to export.

  3. Click Download and save the XML file in an appropriate location.

Import a configuration file import-a-configuration-file

NOTE
Your system will be reconfigured based on the information in the imported file.
  1. In administration console, click Services > PDF Generator > Configuration Files > Import Configuration.
  2. Select Import An Existing Configuration File.
  3. To specify the file location in the Configuration File box, click Browse to find and select the file, and then click Import.

Convert all layers within AutoCAD files convert-all-layers-within-autocad-files

By default, PDF Generator converts only the default layer of AutoCAD files to PDF instead of all the layers within the file. To convert all the layers, follow this procedure.

  1. In administration console, click Services > PDF Generator > Configuration Files > Export Configuration.

  2. Select Download Entire Configuration and click Download.

  3. In a text editor, open the downloaded file and, under the AutoCAD tag within the PDFMaker tag, add the text convertAllPages="true".

  4. In administration console, click Services > PDF Generator > Configuration Files > Import Configuration.

  5. Select Import An Existing Configuration File, specify the updated file, and click Import.

    Any AutoCAD files that are converted by using the modified configuration file will have all layers converted.

Reset your configuration to the original settings installed with PDF Generator reset-your-configuration-to-the-original-settings-installed-with-pdf-generator

  1. In administration console, click Services > PDF Generator > Configuration Files > Import Configuration.
  2. Select Reset Configuration To Default Settings and click Import.
recommendation-more-help
a6ebf046-2b8b-4543-bd46-42a0d77792da