To be able to make extensive changes while printing a simplified method using the ClientDocument was to use the CopyTo and CopyFrom API's to pass the printer info from the Report to the Windows Printer settings and from it.
Crystal Reports Developer for Visual Studio
RAS now has this same ability using the new API's:
- printOptions.CopyFromPrinterSettingsAndPageSettings(eromPrinterSettings, eromPageSettings);
- printOptions.CopyToPrinterSettingsAndPageSettings(eromPrinterSettings, eromPageSettings);
See attached sample application on how to use.
RAS, CopyTo, CopyFrom, crystal reports for visual studio, crforvs , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem
SAP Crystal Reports, developer version for Microsoft Visual Studio