Report Manager Documentation

PrintReport.Main Method 

PrintReport application gets a Report file (.rep) as input, process it using Reportman library and outputs the result to screen, printer, pdf and other formats.
Usage:

printreport.exe [options] reportfile|-stdin
This means options are optional, but a report file or -stdin must be specified.
Option Description
-preview Show preview window, that is output to screen
-showprogress While calculating the report, show a progress window, that is for the impatients
-pdf filename Generate a pdf file, file name must be specified
-m filename Generate a report metafile, file name must be specified
-u The pdf/metafile output will be uncompressed, have effect only used with -pdf option
-deletereport Delete the report file after execution, handle with care
-systempreview Output to screen but using framework preview (low performance)
-syncexecution Do not process report asynchronously
-throw Throw expecion on error, by default a window with error message will pop up

public static void Main(
   string[] args
);

Parameters

args
Main entry point is a serie of strings, the strings are interpreted as command line options

Remarks

Example

This command will generate a pdf document executing a report definition file:

printreport.exe myreport.rep -pdf mydocument.pdf
This command will show the preview window executing a report definition file:
printreport.exe myreport.rep -pdf mydocument.pdf

See Also

PrintReport Class | Reportman.Commands Namespace