Share via


PrintOptions.PrinterName Property

Gets or sets the printer name used by the report.

Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)

Syntax

'Declaration

Public Overrideable Property PrinterName As String
public virtual string PrinterName {get; set;}

Remarks

Gets an empty string if the default printer is used. Once set the report can be printed by clicking the Printer button on the CrystalReportViewer control or through code using the PrintToPrinter method.

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

PrintOptions Class
PrintOptions Members
CrystalDecisions.CrystalReports.Engine Namespace