Page 1 of 1

N-Up printing possible?

Posted: Thu Jan 07, 2016 7:32 pm
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?

Re: N-Up printing possible?

Posted: Fri Jan 08, 2016 10:02 am
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 140 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.