Jump to content
We've recently updated our Privacy Statement, available here ×

Duplex printing in a Jasper Report


stevelau

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Unfortunately, no. Duplex pring is a feature of a printer and is printer specific.

However, it is easy to customize JasperReports to enable exporting to pdf that merges different layout report on each side of the paper. Unfortunately, other export types such as xlsx does not support it so it's a customer specific modification and can not be a general feature addition to JasperReports.

Link to comment
Share on other sites

It should be just an flag within the PrintRequestAttributeSet when I remember right. So you needn't to change the Printer settings in generall. So this is always the decission of the user how a JasperPrint will be sent to the printer and not defined in the design mode. (also like in MS Word... you PRINT it duplex and don't set an option to the word doc itself!)

Something like.

attr.add(Sides.TWO_SIDED_LONG_EDGE);

hth + regards

C-Box

Link to comment
Share on other sites

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...