Symptom
A NotSupportedException with the message "Specified method is not supported." is thrown by CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintOptions.CopyFrom when used with a SATO CG212 printer.
For example:
CrystalDecisions.CrystalReports.Engine.ReportDocument report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
report.Load(@"SATO_PrinterTest.rpt");
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = "SATO CG212";
MessageBox.Show("Will perform CopyFrom...", this.Text);
report.PrintOptions.CopyFrom(printerSettings, printerSettings.DefaultPageSettings); // The error occurs here
MessageBox.Show("Done.", this.Text);
Read more...
Environment
Crystal Reports for Visual Studio
Product
Keywords
Crystal reports for visual studio, crforvs, Specified method is not supported, CopyFrom, SATO , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.