Home > BSPrinter documentation > Reference

ReportName Property


Applies to: PrintPreview control , IPrinterEx object


Type: String


Description:

Returns or sets a String that is used to identify the print job in the Windows printer spooler.
When ReportName is set, the text of the print job will be "Product name of the client program - " & ReportName. But when it is not set just the Product name of the client program will be displayed.

If this property is set, the report name will also appear as part of the title bar caption of the Print preview dialog box.

Notes: When running in the IDE (the development environment), the Product name of the client program will be identified as "Visual Basic". But once it runs compiled, it will be the name of your program.

For example, if the name of the program is "My Program" and ReportName is set to "Report 1", then the print job will be identified as "My Program - Report 1".

See Also:

ReportID property
PreviewDialogCaption property