|
|
|
|
Search in RpvSoftware.com
|
|
|
|
|
|
|
|
Rpv Reports help>
|
Protocols ViewRpvReport, ViewRpvReportInPDF and PrintRpvReport
|
When Rpv Reports is installed, three protocols are generated specially to be used by web applications. They are very important for languages like ASP and PHP.
Protocol |
Description |
ViewRpvReport |
Opens an instance of Rpv Viewer to see the report on screen |
PrintRpvReport |
Sends the report directly to the printer |
ViewRpvReportInPDF
|
Converts the report to PDF and launches the PDF reader to see it |
Since the protocols have been installed, Windows will recognize them in the same way that know that "http:" means "open IE"
or Firefox (or any other default web browser) and "mailto:" means "create a new e-mail" using the default e-mail client.
It can be complex to open a report from a web page without these protocols because it is needed that your web application can execute a program
(Rpv in this case) that is on the client's disk.
However, using these protocols will be very simple to execute Rpv from any browser and/or any html document.
Examples:
View a report
<a href="viewrpvreport:c:\reports\myreport.rpx">Click here to see the report
Print the report
<a href="printrpvreport:c:\reports\myreport.rpx">Click here to print the report
View the report in PDF
<a href="viewrpvreportinpdf:c:\reports\myreport.rpx">Click here to see the report in the PDF reader
Sending values to control how Rpv starts
Rpv Reports (viewer and RpvPrint.exe) accepts many commands for its start. To specify those commands it will be necessary to replace the space between the
name of the file and the commands by a question sign.
Example:
<a href="printrpvreport:c:\reports\myreport.rpx?/c">click here to print the report
|
|