SAP Knowledge Base Article - Public

1274316 - Crystal Reports for Eclipse Version 1 Java DHTML Viewer Cannot Print Using the ActiveX Print Control.

Symptom

  • Crystal Reports for Eclipse Version 1 (library version 11.8) web application using the DHTML viewer.
  • Print mode set to CrPrintMode.ActiveX
  • Clicking Print Button on DHTML Viewer brings up a blank dialog box.

Cause

  • The ActiveX Print Control is not shipped with Crystal Reports for Eclipse Version 1.
  • The Crystal Reports for Eclipse Version 1 does not support the ActiveX Print Control.

Resolution

Crystal Reports for Eclipse Version1 fully supports PDF printing (CrPrintMode.PDF):

CrystalReportViewer crystalReportViewer = new CrystalReportViewer();
crystalReportViewer.setPrintMode(CrPrintMode.PDF);

Keywords

KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

Product

Crystal Reports, version for Eclipse 1.0