Duplex printing in a Jasper Report


I have developed a Jasper report and I want it to be printed in duplex without changing the settings on the printer.  Is there any configuration in the JR that can print in double-sided?

stevelau's picture
Joined: Dec 25 2018 - 4:13am
Last seen: 1 month 1 day ago

2 Answers:


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.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 hours 43 min ago

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.


hth + regards


C-Box's picture
Joined: Jul 19 2006 - 5:58pm
Last seen: 16 hours 29 min ago