Configure Output Generator to use Antenna House

This procedure describes how to configure IXIASOFT CCMS Output Generator to generate PDF files using the Antenna House Formatter rendering engine or the Antenna House PDF5 Plugin.

This procedure assumes that you have downloaded the Antenna House Formatter rendering engine or Antenna House PDF5 Plugin and that you have a license for it, as required.

To use the Antenna House rendering engine:

  1. Install the rendering engine on the CCMS Output Generator server.
    You can install it in any directory. Follow the installation procedure provided by Antenna House.
  2. Open the %OutputGenDir%/data/outgen-init-client.xml file.
    Note: If this is the first time that you are modifying the outgen-init-client.xml file, open the outgen-init-client.xml.orig file and save it as outgen-init-client.xml (remove the .orig suffix).
    Important: Do not update the outgen-init.xml file; always update the outgen-init-client.xml file. This separation ensures that your customization does not get overwritten when you update CCMS Output Generator.
  3. Locate the line that contains the outgen.job.default.pdf.formatter property.
    For example:
    <!--<property name="outgen.job.default.pdf.formatter" value=""/>-->
  4. Uncomment the line and set the property to ah.
    For example:
    <property name="outgen.job.default.pdf.formatter" value="ah"/>
  5. Locate the properties identified as * Config for ah *.
    For example:
    <!--
    *********************************************************************************
    * Config for ah
    *********************************************************************************
    -->
    <!--<property name="env.AXF_DIR" location="/usr/AHFormatterV62_64"/>-->
    <!--<property name="env.AXF_DIR" location="C:\Program Files\Antenna House\AHFormatterV62"/>-->
    <!-- If you need a custom setting file for different output types,
         do not set the value here; set it instead in each target that calls the renderer. -->
    <!--<property name="env.AXF_OPT" location="${outgen.resources.dir.client}${file.separator}AHFSettings.xml"/>-->
                   
    <!-- If you are using the plugin com.antennahouse.pdf5, you must define the 
            AHF_DIR and AHF_OPT properties instead. -->
    <!-- <property name="env.AHF_DIR" location="C:\Program Files\Antenna House\AHFormatterV6"/> -->
    <!-- <property name="env.AHF_OPT" location="${outgen.resources.dir.client}${file.separator}AHFSettings.xml"/> --> 
  6. Uncomment each property for the chosen renderer and set it as follows:
    RendererProperties
    Antenna House Formatter
    • env.AXF_DIR: Set this property to the location of the Antenna House Formatter engine.
    • env.AXF_OPT: If you are using a custom Antenna House Formatter configuration, set this property to the location of the Antenna House Formatter settings file. IXIASOFT recommends that you store this configuration file in the %OutputGenDir%/data/resources/client directory. To use the standard Antenna House Formatter configuration, leave this property uncommented.
    Antenna House PDF5 Plugin
    • env.AHF_DIR: Set this property to the location of the com.antennahouse.pdf5 plugin executable folder.
    • env.AHF_OPT: : If you are using a custom Antenna House PDF5 Plugin configuration, set this property to the location of the Antenna House PDF5 Plugin settings file. IXIASOFT recommends that you store this configuration file in the %OutputGenDir%/data/resources/client directory. To use the standard Antenna House PDF5 Plugin configuration, leave this property uncommented.
    For example, on Windows, you could set the properties as follows:
    <property name="env.AXF_DIR" location="C:\Program Files\Antenna House\AHFormatterV62"/> 
  7. Save and close the file.
  8. Open the conductor file that contains the PDF target (for example, %OutputGenDir%/data/conductor-acme.xml).
  9. Locate the target that calls the PDF transformation scenario and make sure that the target includes the ot_build_add_pdfrenderer macro.
    This macro sets the pdf.formatter property in the build.properties file.
    For example:
    <target name="client.PDF-34" depends="default_dependencies, flatten, resolve_container_keyref, extract_HiRes_images">
    	<echostart>client.PDF-34</echostart>
    
    	...
    
    	<!-- If your transformation scenario is for PDF, you will need the following target calls -->
    	<ot_build_add_pdfrenderer/>
    	<ot_build_keep_topicfo/>
    
    	<!-- If your transformation scenario is for CHM, you will need the following target calls -->
    	<ot_build_add_htmlcompiler/>
    
    	..
  10. Save and close the conductor file.
    You can now generate PDF files using the Antenna House renderer.