ninguno Posted April 22, 2015 Posted April 22, 2015 Hi! Is there any possibility to scale a report through code to print in a smaller size than the original width/height?I made a report, but know need to print it in a ticket printer which has a smaller maximum width, and if possible would like to avoide creating a second report for it.Is there any kind of scale parameter? Maybe printing first through PDF exporter?Thanks in advance!
hozawa Posted April 23, 2015 Posted April 23, 2015 Have you tried setting net.sf.jasperreports.export.pdf.print.scaling property
ninguno Posted April 23, 2015 Author Posted April 23, 2015 Hi, thanks for your response.As I see the net.sf.jasperreports.export.pdf.print.scaling only allow values 'None' and 'Default' or am I wrong? How can I specify the size?By the way, I need the report to output directly to the printer through JRPrintServiceExporter, isn't this parameter exclusive for the JRPdfExporter?
ninguno Posted April 26, 2015 Author Posted April 26, 2015 Sorry to bump, anyone knows if this is or isn't possible?
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