Reporting : Batch Documentation Facility : Available commands : DOS: Manage the formatting process : Redirecting output to files
  
Redirecting output to files
Use the DOS COPY command to sent the output to files.
You can then send the output files to a printer using a simple DOS COPY command.
Example
This example sends a file to a printer:
COPY TEMPFILE.001 LPT1:/B
The /B parameter is used to specify that the file contains binary information.
You can also embed the files in a word processing or desktop publishing document using an import or link command.
You usually use the Documentation Facility for printing a series of reports and/or a series of diagrams. When you direct the output to files, you typically sent the output to a series of individual files, so that each file contains only one report or one diagram.
The output files that are created contain images of diagrams or reports; therefore, the attributes of the images must be specified. For example, a user may want to specify for a diagram to be stored as an Encapsulated Postscript file, using landscape orientation, and 75 dots per inch.
See also
DOS: Manage the formatting process