Paper Setting in FastReport.Net
How to set runtime Paper such as "Slip" in Report's Page Setup?
I used FastReport.Net in Visual Studio 2005 C# .net.
I create Paper size of "Slip" by Control Panel->Server properties in Printer & Fax Setting in Windows XP.
I used FastReport.Net in Visual Studio 2005 C# .net.
I create Paper size of "Slip" by Control Panel->Server properties in Printer & Fax Setting in Windows XP.
Comments
Use the following code:
ReportPage page1 = report.Pages[0] as ReportPage;
page1.PaperWidth = ... (size in millimeters)
page1.PaperHeight = ... (size in millimeters)
just set necessary sizes.