Jump to content

Recommended Posts

Posted

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!

 

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...