Route Reports in Enterprise Output Manager

A report that has not been created using the Enterprise Output Manager wizard can also be routed to, and printed by, Enterprise Output Manager. This involves writing logic and painting the frames to output the necessary Enterprise Output Manager headers. It is not necessary to change the default device to DP in order to route output to Enterprise Output Manager, as the header information is sufficient.

Any report destined for output to Enterprise Output Manager can pass Enterprise Output Manager control information through the first line of data in the print file, starting with the $DEPHDR$ control image. This header information is automatically generated by the Enterprise Output Manager wizard, but it can be added manually. This is achieved by painting a frame with the necessary header information.

Enterprise Output Manager uses file masks to identify incoming print jobs. This process assigns print attributes to the print jobs and assigns which printers they go to. If you want to use the file mask information as defined by the Enterprise Output Manager wizard, then the painted header information should match the following:

$DEPHDR$ <DEPHDR-T1>
$DEPHDR$ <DEPHDR-T2>
$DEPHDR$ <DEPHDR-T3>
$DEPHDR$ "<DEPHDR-T4>"
$DEPHDR$ <DEPHDR-T5>
$DEPHDR$ <DEPHDR-T6>
$DEPHDR$ <DEPHDR-T7>
$DEPHDR$ <DEPHDR-T8>
$DEPHDR$ <DEPHDR-T9>
$DEPHDR$ "<DEPHDR-T10>"

Where quotation marks are placed around variables that you expect to contain spaces, and the attributes are defined as the following:

DEPHDR_T1: Primitive “String”, Length 10 : application name
DEPHDR_T2: Primitive “String”, Length 10 : report name
DEPHDR_T3: Primitive “String”, Length 10 : report language
DEPHDR_T4: Primitive “String”, Length 13 : generation date and time
DEPHDR_T5: Primitive “String”, Length 10 : mix number
DEPHDR_T6: Primitive “String”, Length 3 : number of copies
DEPHDR_T7: Primitive “String”, Length 2 : save days
DEPHDR_T8: Primitive “String”, Length 17 : initiated station
DEPHDR_T9: Primitive “String”, Length 17 : user
DEPHDR_T10: Primitive “String”, Length 50 : print banner

When the user defines a file mask in Enterprise Output Manager the information contained in the $DEPHDR$ headers are read into the file mask as the fields User Tag 1 through 10. The order of the $DEPHDR$ variables must match the order of User Tags as defined in the file mask. When the mask matches, the print output is assigned to a print attribute and a printer.

You are able to change the file mask if required, but it is your responsibility to make sure the information in the Enterprise Output Manager file mask matches the attributes supplied in $DEPHDR$. Refer to the Enterprise Output Manager Configuration and Operations Guide for more information.