You are likely getting this error if the default printer you are attached to does not support Ledger size paper. Try changing your defualt printer to on that supports ledger size paper and retry to see if you get the error again.
It needs to be set to "legal"? Do you mean landscape (per your orignal question)? You also list some more requirements, so for clarity, please completely outline exactly what you need done and include the portion of code your are using that is causing the errors.
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
Excel._Worksheet oSheet;
oSheet.PageSetup.Orientati