Posted 23 July 2021, 4:46 pm EST - Updated 3 October 2022, 9:43 am EST
Hi I was using the following code to update the printinfo
printInfo.orientation(GC.Spread.Sheets.Print.PrintPageOrientation.portrait);
printInfo.paperSize(new GC.Spread.Sheets.Print.PaperSize(GC.Spread.Sheets.Print.PaperKind.a2));
However when the spread.print() function is run and the browser print dialog opens the above two values still need to be set manually. As seen in the picture even though I set it to portrait, the browser print dialog still shows layout as landscape,
Am i setting the above incorrectly?
Also ran some tests in this code instance https://jscodemine.grapecity.com/sample/5Be4Yd9JzUeJNvRQj2Ki5g/

