drb.setUseFullPageWidth(true); // use full width of the page
dr = drb.build(); // build the report
// Get information from database
OrderService sv = (OrderService) SpringUtil.getBean("orderService");
List<Orderposition> resultList = sv.getOrderpositionsByOrder(getOrder());
// Generate the Jasper Print Object
JRDataSource ds = new JRBeanCollectionDataSource(resultList);
JasperPrint jp = DynamicJasperHelper.generateJasperPrint(dr, new ClassicLayoutManager(), ds);