N-Up printing possible?

Stimulsoft Reports.NET discussion
Post Reply
hfirst
Posts: 25
Joined: Mon Apr 20, 2015 2:11 pm

N-Up printing possible?

Post by hfirst »

I am needing to print a multi page PDF, however, we want to actually print multiple logical pdf pages on a single physical page. When I try to print a pdf from within adobe, it seems different drivers present it a different way(whether I am printing directly from adobe or from a pdf viewer in browser), but there is an option for printing 2,6,8,9, or, again depending on application or print driver, 2x2,2x3, etc.

How can I programmatically in C# tell stimulsoft to print my report putting multiple report pages per physical paper sheet?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: N-Up printing possible?

Post by HighAley »

Hello.

Unfortunately, there is no such feature in our product.

But we have a sample report template with scripts that generates a report with A5 pages, then join pages on A3 pages.
Please, look at the End Render event of the report.
RenderFourA5toOneA3.mrt
(21.76 KiB) Downloaded 139 times
You could use this sript outside the report in your code.

Then if you need you could resize the page with method like this:

Code: Select all

StiResizeReportHelper.ResizeReport(report, StiPageOrientation.Portrait, System.Drawing.Printing.PaperKind.A4, new StiMargins(1, 1, 1, 1), 210, 297, StiResizeReportOptions.RescaleContent);
Thank you.
Post Reply