We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Does Aspose.Cells support default horizontal printing?

Does Aspose.Cells support default horizontal printing?

@Diego2020,

I am afraid, we are not sure about requirements/issue. Could you elaborate it more. Also, provide an example and some screenshots to demonstrate your needs, we will check it soon.

The attachment contains my test code, a photo of the code executing the print file, a photo of the result I expect to print, and the source Excel
Thank you for helping me
TestPrint.zip (5.3 MB)

@Diego2020,

If you could open your Excel file and take the print preview of the sheet in Ms Excel manually, you will also find the same results as per the output by Aspose.Cells APIs. For your requirements, you may set the orientation of the worksheet(s) to Landscape before rendering or printing. See the sample lines of code:
e.g
Sample code:

......
//Obtaining the reference of the PageSetup of the worksheet
PageSetup pageSetup = workbook.Worksheets[0].PageSetup;
//Set the orientation to landscape
pageSetup.Orientation = PageOrientationType.Landscape; 
//...
//your code goes here.
//.....

Hope, this helps a bit.