2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: prancius - prancius Report size for printer to large 2006-07-11 12:14Hello i have made a jasper report, and showing it via java application. When i am saving report to pdf file size is small about ~20kb, but when i am sending this pdf to printer it is about 75mb information for printer. It take few seconds to print. There piece of code: ArrayList list =new ArrayList(); for (int i=0;i<64;i++) list.add(new Integer(0)); JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(list); try { jasperPrint = JasperFillManager.fillReport (reportFileName,params,ds); } catch (JRException e) { e.printStackTrace(); } return jasperPrint; Link to comment Share on other sites More sharing options...
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