Repository navigation
Using RdlCmd
Peter Gill edited this page Jun 8, 2026
·
8 revisions
RdlCmd is a command-line tool that generates report output files from .rdl report definitions.
See the Downloads page. Self-contained builds require no .NET SDK on the target machine.
RdlCmd "/f<file.rdl>" "/t<type>" "/o<outputdir>"| Flag | Description |
|---|---|
/f |
Report file path. Chain multiple files with +. Append parameters with ?name=value&name2=value2. Use rc:ofile=name to set the output filename. |
/t |
Output type(s): pdf, html, mht, xml, csv, xlsx, rtf, tif, tifb. Chain with +. |
/o |
Output directory. Output filename matches the input filename with the type as extension. |
/c |
Connection string override — replaces the connection string embedded in the report. |
/p |
Pass phrase for reports using a shared data source. |
/s |
Display elapsed time statistics. |
/i |
Image filename to stamp onto the first page of a PDF. Append position with ?x=4in&y=3in&w=7cm&h=16pt. |
/u |
Report user ID. |
/l |
Output licence and warranty. |
/? |
Output help text. |
RdlCmd "/fC:\reports\sales.rdl" "/tpdf" "/oC:\output"RdlCmd "/fC:\reports\sales.rdl" "/tpdf+csv" "/oC:\output"RdlCmd "/fC:\reports\sales.rdl?StartDate=2024-01-01&EndDate=2024-12-31" "/tpdf" "/oC:\output"RdlCmd "/fC:\reports\sales.rdl?Region=West&rc:ofile=west-sales" "/tpdf" "/oC:\output"Produces C:\output\west-sales.pdf.
RdlCmd "/fC:\reports\sales.rdl" "/tpdf" "/oC:\output" "/cServer=prod-db;Database=Sales;Integrated Security=SSPI"RdlCmd "/fC:\reports\report1.rdl+C:\reports\report2.rdl" "/tpdf" "/oC:\output"RdlCmd "/fC:\reports\sales.rdl" "/tpdf" "/oC:\output" "/iC:\images\draft.png?x=1in&y=1in&w=6in&h=1in"RdlCmd runs cross-platform. On Linux, install the required fonts first — see Linux — PDF export and Fonts.
./RdlCmd "/f/home/user/reports/sales.rdl" "/tpdf" "/o/home/user/output"See the dedicated pages: