When using -E print I get this output:
Report loaded successfully
Database Login done
Exception: Invalid export type.
Inner Exception:
Using anything else it prints fine, because well, those formats are accounted for.
Looks like it's currently not possible to print full stop. (I could be way off, I don't know C#.)
Observations:
In ArgumentContainer.cs, PrintOutput is set to false by default with no code anywhere else to flip it on:
PrintOutput = false;
In ReportProcessor.cs, Line 82, the _printToPrinter variable is assigned PrintOutput:
_printToPrinter = ReportArguments.PrintOutput;
In ReportProcessor.cs, Line 259, The _printToPrinter variable is tested here to see if it's being printed to paper and not exporting. But it is not possible to set to true. Specifying -E print is just setting an _outputFormat of "PRINT" which is of course invalid.
There really needs to be a condition the checks the input of that argument in the case of print being passed. Something like:
else if (_outputFormat.ToUpper() == "PRINT") _printToPrinter = true;