PrintReport
Description:
-
PrintReport public interface for use only with Sapphire versions up to V3.5/R4.5.
Input Properties
reportid
Description:
-
Identifier of the Report SDI.
Required:
-
Yes
addressid
Description:
-
If you want to send the report to the default printer on the machine hosting the Application Server, do not enter a value for addressid or addresstype.
If you want to send the report to any other printer, you must enter the identifier of an Address SDI that specifies the target printer. In this case, you must also enter the addresstype.
Required:
-
No
addresstype
Description:
-
Value of the Address Type relevant to the addressid.
Required:
-
No
destination
Description:
-
Target printer, file, or service. Possible values:
printer = Sends the report to the printer you have defined by the value of the addressid property. This is the default value. You must also specify addressid and addresstype.
email = Sends the report to your SMTP server with details specified by the email-specific properties.
file = Exports the report as a file. You must also specify filename and filetype.
Required:
-
No
filetype
Description:
-
Format of the file specified by the File Name.
Required:
-
No
filename
Description:
-
Name of the file created and printed to the file.
Required:
-
Only if destination = file.
emailfrom
Description:
-
Email address(es) to which the recipient can reply.
Required:
-
Onlt if the destination = email.
emailtolist
Description:
-
List of email addresses to which the Report is sent.
Required:
-
Only if destination = email.
emailcclist
Description:
-
List of those copied on the email.
Required:
-
No
emailsubject
Description:
-
Email "Subject" (text description of email).
Required:
-
No
emailmessage
Description:
-
Email message to include with the report.
Required:
-
No
param1
Description:
-
First argument specified in the report.
Required:
-
No
Comments:
-
Use the Parameter Properties if you want parameters (arguments) in your report to be input properties of the report itself. Each parameter (argument) you specify must already be in the report, and you must specify them here in the same order as they appear in the report.
You can specify up to 10 parameters (arguments). Sapphire starts you off with three (param1 through param3). You can add the additional parameters (arguments) by adding properties named param4 through param10.
param2
Description:
-
Second argument specified in the report.
Required:
-
No
param3
Description:
-
Third argument specified in the report.
Required:
-
No
Additional Information
Additional information concerning this Action:
-
None.
Copyright © 1999-2025 LabVantage Solutions, Inc.