Rpv2Pdf.exe is an special utility to export reports to PDF.
Syntax:
rpv2pdf.exe [InputFile.rpv/rpd/rpx], [OutputFile.PDF], [-V][+FROMPG-TOPG][o0|1][-st=Style][-m:e-mailaddress]
The input and output files must be separated by commas to avoid inconveniences with files names containing spaces.
After the output file, the rest of the parameters are given without commas, indicating them with the proper flag.
In case that one parameter (Style for example) contains an space, double quotes must be used.
Parameters
InputFile |
This is the report to be
exported to PDF. The possible extensions are: rpv, rpd, rpx, txt, lst, prn.
Optional parameter, if not specified a dialog will be prompted to select it. |
OutputFile |
The name of the PDF that
will be generated. Optional parameter, if not specified a dialog will be
prompted to select it. |
-V |
Indicates that the interface of Rpv2PDF
will be visible. If this parameter is omitted, the program will run invisible
without any interface.
|
+FROMPG-TOPG |
These arguments allow to
define automatically which pages will be exported |
-O0|1 |
The parameter O (open)
indicates if Rpv2Pdf will open or not the PDF viewer after the report is
exported. -o1 indicates that the PDF viewer will be launched and -o0
indicates that will not. |
-ST= |
Indicates the style to be
used. Optional, the style must be indicated with the name that is shown in
the Reports Viewer. |
-M= |
Specifies if after the
PDF is generated it will be e-mailed. If yes, it will be used the default
e-mail client |
Example:
rpv2pdf.exe c:\report.rpx, c:\report.pdf, -v +1-10 -ST="Lined #2" -M=youremail@rpvsoftware.com
This example shows how to generate the report.pdf file, showing the interface and exporting only pages from 1 to 10.
The input file can be any file accepted by Rpv, including text files with extensions txt, lst and prn.
To execute this utility is is required the PDF995 printer. This printer is installed with Rpv automatically. Without that printer, is not possible to use
this utility.
|