I am programming some reports that use a custom paper size.
This works OK in previous versions of Crystal Reports and VB6, but I have problems in Crystal Reports for Visual Studio 2003 and 2005.
The reports are printed OK if I use the PrintToPrinter method of a ReportClass instance (I set previouslly the PrintOptions.PaperSize property).
But when I use the CrystalReportsViewer, even when the reports is visualized OK in the screen, when I select the print button, the report in prited wrong.
I have to select the "Properties" button in the "printing dialog", and change the paper size from "Letter" to my custom size.
The application works as if the Viewer use the PrintOptions.PaperSize for showing the reports in the screen, but does not use the setting when printing the report.
I applied patches form Crystal Reports for .NET but the problem persist. I found that there are more and newer patches for Crystal Reports 9, 10 ans XI than for Crystal Reports for .NET.
I havethe problem in VS 2003 and VS 2005.
May someone help me, please
Thanks!!!
Visual Studio31
|