From 02a08c91827852255e57964ec04e23913ed3fae9 Mon Sep 17 00:00:00 2001 From: GoldMine Doug <22549400+gonerdoug@users.noreply.github.com> Date: Mon, 17 Aug 2020 16:48:52 -0700 Subject: [PATCH] Update ReportProcessor.cs Fix the ability to PRINT via -E print parameter --- Source/CrystalReportsNinja/ReportProcessor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/CrystalReportsNinja/ReportProcessor.cs b/Source/CrystalReportsNinja/ReportProcessor.cs index fa96d58..108e614 100644 --- a/Source/CrystalReportsNinja/ReportProcessor.cs +++ b/Source/CrystalReportsNinja/ReportProcessor.cs @@ -84,6 +84,8 @@ private void ValidateOutputConfigurations() bool specifiedFileName = _outputFilename != null ? true : false; bool specifiedFormat = _outputFormat != null ? true : false; + if (_outputFormat.ToUpper() == "PRINT") _printToPrinter = true; + if (!_printToPrinter) { string fileExt = "";