Data Driven Printers

If you select the Data Driven Delivery option for report definition output, you can direct the output to specific printers based on an XPath field (a delivery XML tag) from the XML data. For bursted reports, the XPath field value could be different for each recipient, depending on which XPath is used.

Clicking the Data Driven Printer Mapping button launches the Data Driven Printing form. The value in the Delivery Tag column is passed into the Data Driven Printing form from the data driven recipient that you select on the Bursting and Delivery form. You can change the delivery tag on the Data Driven Printing form if necessary, or enter a new delivery tag from the XML data

You use the Data Driven Printing form to associate a delivery tag with a printer delivery mapping name, as shown in the following example:

This image is described in the surrounding text.

After the delivery tag has been assigned to a data delivery mapping name, you can associate printer delivery values and their respective printers to the data delivery mapping name. To do this, select Add Printer Mapping from the Form menu on the Data Driven Printing form to access the Printer Mapping Revisions form. You can enter a printer in the Printer Device column, or you can use the visual assist to select a printer name.

This image is described in the surrounding text.

You can also add, modify, or delete report definition mapping records in the Report Definition Printer Mappings application (P95621).

Printer Delivery Tables

The Report Definition Printer Mappings application (P95621) uses two tables for the printer mapping records. The tables define the relationship between the data and the printer devices.

  • XMLP Report Definition Data Map (F95627)

    The F95627 table contains the XPath field from the report definition source XML and the printer mapping name for each record in the table. For example, the XPath field value CostCenter_ID1 could be mapped to the printer delivery mapping name Business Units.

    Data Driven XPath

    Printer Delivery Mapping Name

    CostCenter_ID1

    Business Units

    DepartmentCode_ID1

    Departments

  • XMLP Report Definition Printer Map (F95628)

    The F95628 table contains the printer mapping name, printer delivery value, and printer device name. For example, the printer delivery mapping name BusinessUnits could be mapped to the values in the CostCenter_ID1 XPath, such as 30, 20, 50, and so on. Each value can then be assigned to a specific printer device, as the following example illustrates.

    Printer Delivery Mapping Name

    Printer Delivery Value

    Printer Device

    Business Units

    20

    HDQRTRS

    Business Units

    30

    CBPRTR

    Business Units

    50

    SBPRTR

    Departments

    7392

    APPRINTER

    Departments

    7373

    POPRINTER