Using RdlCmd - majorsilence/Reporting GitHub Wiki
RdlCmd.exe/RdlCmd runs a RDL report file and creates a file for each type specified.
RdlCmd "/ffile.rdl" "/tpdf" "/ooutputdir"
- /f is followed by a file or file list. e.g. /ffile1.rdl+file2.rdl
- Report arguments can optionally be passed by using '?' after the file.
- Multiple report arguments are separated by '&'.
- For example, /ffile1.rdl?parm1=XYZ Inc.&parm2=1000
- One special argument is 'rc:ofile' which names the output file.
- For example, /ffile1.rdl?parm1=XYZ Inc.&parm2=1000&rc:ofile=xyzfile
- /t is followed by the type of output file: pdf, html, mht, xml, csv, xslx, rtf, tif, tifb
- e.g /tpdf+xml
- /o is followed by the output directory. The file name is the same as the input (or the rc:ofile parameter) except with the type as the extension.
- /c is followed by the connection string
- This will overwrite the connection string in the report definition.
- /p is followed by the pass phrase needed by reports using a shared data source.
- /s displays elapsed time statistics
- /i is followed by an image filename to be stamped onto first page of the PDF.
- Location arguments x, y, h, w can optionally be passed using '?'
- Arguments are separated by '&'. Only pdf files support this option.
- For example, /i"copyright.gif?x=4in&y=3in&w=7cm&h=16pt"
- /u is followed by the report user ID.
- /l outputs the license and warranty
- /? outputs this text