pankajnain87 Posted July 25, 2018 Share Posted July 25, 2018 Hi Team, I am designing a report for which I need output to pdf and sometime send to printer.i have designed the report in Landscape mode. Now when the output is PDF I am getting the pdf in landscape mode but when I send the report to printer it is printed in Potrait mode with some of the details cut due to width issues of the potrait page.I am using .net code to sen report to printer.Thanks in advance for the help.Regards Link to comment Share on other sites More sharing options...
alfie1109 Posted July 25, 2018 Share Posted July 25, 2018 Not sure if this will help, but have you done the following:1. On Main Report, under "Orientation" did you select "Landscape"2. Are your page width and height set to 792/612, with margin set to 20Hope this helps! Link to comment Share on other sites More sharing options...
thinkster Posted July 25, 2018 Share Posted July 25, 2018 Hi, is it the same PDF document generated in Landscape mode getting printed in Portrait mode when you print it from .NET code? Link to comment Share on other sites More sharing options...
alfie1109 Posted August 1, 2018 Share Posted August 1, 2018 All my reports are setup the way I mentioned on my last comment. So, when I run the report, the PDF document generated is in Landscape mode and when I print it, it still prints in Landscape mode. I am not sure how it works if you print if from .Net code, maybe the settings in jasper are getting overwritten (not 100% sure). Link to comment Share on other sites More sharing options...
mabian69gmail.com Posted October 10, 2021 Share Posted October 10, 2021 Same exact thing happening here... not using .net at all, just Jasper Studio (6.17.0).PDF Export is perfect, but print (to PDF or printer) is screwed to portrait mode and if I set the printer to landscape the same wrong result is just rotated.Luckily I can first render to PDF and then print. For the rest, landscape print is totally broken here... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now