I designed a report using iReport and i'm filling it in my Java application. Then I'm showing result using `JasperViewer`. The shown report is correct; but when I use JasperViewer's print button to print it; While the paper size is A5 and report size is A5 too it print the report in a A4 page! (it puts the entire A5 report in bottom left of and A4 page!) my report's config is this: And i'm showing it with this: JasperReport jasperReport = null; JasperPrint jasperPrint = null; JasperDesign jasperDesign = null; Map parameters = new HashMap(); jasperDesign = JRXmlLoader.load("/home/user1/reports/pe_report.jrxml"); jasperReport = JasperCompileManager.compileReport(jasperDesign); jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, new JRBeanCollectionDataSource(data)); JasperViewer.viewReport(jasperPrint,false); What is the problem?