SAP Knowledge Base Article - Public

1693925 - Error: The number of copies is out of range for the selected printer

Symptom

  • Using Visual Studio 2010 and printing a report to Microsoft XPS Document Writer
  • Requesting more than one copy results in the error:

Exception source:
CrystalReports13.CrystalPrintControl.1

Stack trace:
at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.PrintReport(PrintReportOptions options)
at Accounting.Framework.CrystalAdapter.ReportPrint(Int32 NoCopies, Boolean Collated, Int32 StartPage, Int32 StopPage)

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010

Cause

Microsoft XPS driver only supports 1 copy

Resolution

Use a printer that supports multiple copies

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 MS , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports, developer version for Microsoft Visual Studio