jasperPrint.setName("Holerite");
jasperPrint.setPageWidth(convert(210));
jasperPrint.setPageHeight(convert(297));
//Fonts
titleStyle = new JRDesignStyle();
titleStyle.setName("Arial_Title");
titleStyle.setDefault(true);
titleStyle.setBold(true);
titleStyle.setFontName("Arial");
titleStyle.setFontSize(18);
titleStyle.setPdfFontName("Helvetica");
titleStyle.setPdfEncoding("Cp1252");
titleStyle.setPdfEmbedded(false);
jasperPrint.addStyle(titleStyle);
normalStyle = new JRDesignStyle();
normalStyle.setName("Arial_Normal");
normalStyle.setDefault(true);
normalStyle.setFontName("Arial");
normalStyle.setFontSize(8);
normalStyle.setPdfFontName("Helvetica");
normalStyle.setPdfEncoding("Cp1252");
normalStyle.setPdfEmbedded(false);
jasperPrint.addStyle(normalStyle);
rightStyle = new JRDesignStyle();
rightStyle.setName("Arial_Right");
rightStyle.setDefault(true);
rightStyle.setFontName("Arial");
rightStyle.setFontSize(9);
rightStyle.setPdfFontName("Helvetica");
rightStyle.setPdfEncoding("Cp1252");
rightStyle.setPdfEmbedded(false);
jasperPrint.addStyle(rightStyle);
boldStyle = new JRDesignStyle();
boldStyle.setName("Arial_Bold");
boldStyle.setDefault(true);
boldStyle.setFontName("Arial");
boldStyle.setFontSize(9);
boldStyle.setBold(true);
boldStyle.setPdfFontName("Helvetica");
boldStyle.setPdfEncoding("Cp1252");
boldStyle.setPdfEmbedded(false);
jasperPrint.addStyle(boldStyle);
miniStyle = new JRDesignStyle();
miniStyle.setName("Arial_Mini");
miniStyle.setDefault(true);
miniStyle.setFontName("Arial");
miniStyle.setFontSize(7);
miniStyle.setBold(true);