Using pdftk to combine multiple Report Viewer RLDC outputs in to 1 PDF file


With ReportViewer, you can easily output directly to a PDF file.

However, what if you want to combine several RDLCs into one PDF file ?

This is necessary, if your report has complex layout (for example, with different headers + footers on each report).

With ReportViewer 2010 - you can write the output from each RDLC to a temp PDF file.

Then use pdftk to combine the temp PDF files into one PDF file:

http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

note: PDFsharp has an issue where it cannot read the default compressed output from RV2010.
and RV2010 has an issue where the de-compressed output will not display Unicode symbols like the Euro or a bullet point.
So at time of writing, PDFsharp is not an option to combine the PDF files from RV2010.

Comments