Groups
Groups
Sign in
Groups
Groups
.NET Reporting
Conversations
Labels
About
Send feedback
Help
Landscape Reports Printing as Portrait
44 views
Skip to first unread message
Jonathan Knop
unread,
Oct 29, 2013, 12:03:32 PM
10/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
10/29/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
10/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dot-net-...@googlegroups.com
That took care of it.
Thanks,
Jonathan
Reply all
Reply to author
Forward
0 new messages