SAP Knowledge Base Article - Public

1544703 - WPF viewer does not print label reports correctly

Symptom

  • Label reports are shifted a number of inches to the top and left
  • Actual shift depends on label size
  • A 6 inch X 4 inch report is shifted about 3 inches to the top and 2 inches to the left
  • The report displays as expected in the WPF viewer

Environment

Reproducing the Issue

  • Set a label printer driver as default
  • Create a label report
  • Create a Crystal Reports WPF application
  • Run the application and print the report using the print button on the WPF viewer

Resolution

  • The issue is resolved in Service Pack 2 for Crystal Reports for Visual Studio 2010
  • Note:
    • Due to the Microsoft Framework limitations the WPF viewer can only print reports with 0.17 inches
    • Reports with margins set to less than 0.17 inches will be scaled
  • ADAPT01516374

See Also

  • Note that only Zebra label printers have been tested with CRVS2010

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 shrink small scale , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio