Direct reports send output according to the device type specified when the report is executed or the value of Glb.Device is modified in your logic and the value of Glb.Stn when output is first produced by the report.
Shadow reports direct output to a file based on the values of <shadow name>.Device, <shadow name>.Station and <shadow name>.Title (where <shadow name> is the name of the Glb.OutputStream object defined in the report). If <shadow name>.Title is defined, output from shadow reports is directed to the file specified by <shadow name>.Title.
The default location for Direct report output files (including shadow reports) is <AB Suite Data folder>\private\Temp. The Admin tool includes an option to change the location of the text file version of report output for each system.
The following table summarizes the destination of the Direct report output based on the values of the Glb.Device, Glb.Stn, and Glb.Title.
Glb.Device | Glb.Stn | Glb.Title | Destination |
---|---|---|---|
Default | Stdout | ||
LP | Blank | n/a | Windows Default Printer of Application User |
Physical printer name (ROC not installed) | n/a | Physical Printer = GLB.STN value | |
Logical printer name (as defined in ALIAS table in ROC system) | n/a | Physical Printer = ROC.ALIAS value (GLB.STN as key) | |
VD | n/a | n/a | Report Output dialog screen (Winforms only) |
TP | Define key to ALIAS value for LPR command | n/a | ROC.ALIAS[GLB.STN] = “linclp -S <server> -P <PrinterName>” |
EX | File Path (if provided) | File name | Path provided in Glb.Stn |
Note: For shadow reports (Glb.Outputstream objects), the equivalent of Glb.Stn and Glb.Title is <shadow name>.Station and <shadow name>.Title (where <shadow name> is the name of the Glb.OutputStream object defined in the report).