We have a problem when printing reports from within our application.
We want to avoid, that the print function in Crystal Reports 2008 scales reports automatically, so that the full report content fits into the printable area of the specific printer.
The predecessor Crystal reports 11 did not scale anything, that’s what we want to achieve for Crystal Reports 2008.
Sadly the following code throws an exception:
Dim layout As New CrystalDecisions.Shared.PrintLayoutSettings
'Disable scaling, does not work
layout.Scaling = PrintLayoutSettings.PrintScaling.DoNotScale
crystalReport.PrintToPrinter(printerSettings:=printerSettings,
pageSettings:=pageSettings,
reformatReportPageSettings:=False,
layoutSettings:=layout)
Interestingly the SAP Crystal Report Viewer 2008 prints reports correctly, without scaling, so we guess the functionality exists.