com.crystaldecisions.report.web.viewer
Class CrPrintMode

java.lang.Object
  extended bycom.crystaldecisions.report.web.viewer.CrPrintMode

public final class CrPrintMode
extends java.lang.Object

This class contains constants that specify the type of printing the viewer will use when the user clicks on the print button.

The print mode can be set by passing a CrPrintMode object to the CrystalReportViewer class' setPrintMode method for a specific JSP or in the deployment descriptor for a web application wide setting. It can be set as either a context initParameter or an attribute. The tag name is crystal_print_mode and its possible values are:

In the situation that the print mode is set through both the deployment descriptor and the viewer, the viewer specified print mode value will take precedence.


Field Summary
static CrPrintMode ACTIVEX
          A CrPrintMode object that specifies ActiveX print mode.
static CrPrintMode PDF
          A CrPrintMode object that specifies PDF print mode.
 
Method Summary
 java.lang.String toString()
           Returns the print mode specified by this CrPrintMode object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PDF

public static final CrPrintMode PDF
A CrPrintMode object that specifies PDF print mode.


ACTIVEX

public static final CrPrintMode ACTIVEX
A CrPrintMode object that specifies ActiveX print mode.

Method Detail

toString

public java.lang.String toString()

Returns the print mode specified by this CrPrintMode object.

Returns:
A String specifying the print mode represented by this object.