Hello, I tired to create button which will print report on 3 pages. It is required to print 3 pages instead of 1 page 3 times because printer gives watermark for first one.
So what i tried
rv = event.source.parent.getComponent('Report Viewer') rv.print(None,False) rv.print(None,False) rv.print(None,False)
It prints one page 3 times, I need 3 page one time
Also I`ve tried to get PNG (by .getBytesPNG() and system.report.executeAndDistribute) image and print it with java printer job but quality of image is poor.
So PDF is an option, but printing PDF with Java is not so easy ... Usually there it needs external java library to do that.
So, any ideas ?