When we use Inline RAS printing rather than the old printtoprinter method it does not respect reports that have Suppress Printing If No Records set.
This problem can also be seen in the CRystalReportViewer.
If PrintMode is set to PrinterToPrinter it respects Suppress Printing If No Records.
However if it is set to PrintOutputController blank pages are printed.
Crystal Reports for Visusl Studio SP 18.
Reproducing the Issue
CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions printReportOptions = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
reportClientDoc = reportDocument.ReportClientDocument;
printReportOptions.PrinterName = "someprinter"
This issue has been Escalated to our Developers for a solution in SP 19
CR for VS, PrintOutputController, Supress Printing if no Records , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem