Forum Discussion
angela
6 years agoCatalyst II
I guess you will need to change Line 133:
var pdfDoc = new JsPDF('l', 'pt', 'a4');
The 1st paramter defines landscape (l) or portrait (p).
It´s a interesting piece of code. I am actually were locking for something similar for a different use case :-)
paul_sheehy
6 years agoIdeator III
//var pdfDoc = new JsPDF('l', 'pt', 'a4');
var pdfDoc = new JsPDF('p','pt','letter');
modifying the pdfDoc variable with the above code correctly changed the default form printing orientation from Landscape to Portrait!
This resolves item #2 from my original post. I'm still exploring using SSRS reports to do the rest of this...but I thought other users would like a solution on how to modify Aras to print forms in Portrait orientation by default. Thanks Angela!
paul