Landscape Reports Printing as Portrait

44 views
Skip to first unread message

Jonathan Knop

unread,
Oct 29, 2013, 12:03:32 PM10/29/13
to dot-net-...@googlegroups.com
I have the code below which prints in portrait mode instead of Landscape. If I Publish it as PDF it shows up and prints from PDF in landscape.

report.Preferences.Printing.PaperOrientation = Siberix.Report.Preferences.Printing.PaperOrientation.Landscape;
report.Print(myPrinter);

Are there any other settings that I am missing?

siberix

unread,
Oct 29, 2013, 5:23:21 PM10/29/13
to dot-net-...@googlegroups.com
Hi Jonathan,

Please try to set PaperSize to some actual value (e.g. PaperSize.Letter) or to "Auto".

report.Preferences.Printing.PaperSize = Siberix.Report.Preferences.Printing.PaperSize.Auto;
report.Preferences.Printing.PaperOrientation = Siberix.Report.Preferences.Printing.PaperOrientation.Landscape;
report.Print(myPrinter);

Thank You,
Victor

Jonathan Knop

unread,
Oct 30, 2013, 8:53:08 AM10/30/13
to dot-net-...@googlegroups.com
That took care of it.

Thanks,

Jonathan
Reply all
Reply to author
Forward
0 new messages