if (contactDetailMap != null) {
reportMap.put("Phone", contactDetailMap.get("contact_detail"));
}
try {
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperFileName, reportMap, new JREmptyDataSource());
// For print attributes see API docs: j2sdk-1_4_2/docs/api/index.html
PrintRequestAttributeSet printRequestAttributeSet =
new HashPrintRequestAttributeSet();
printRequestAttributeSet.add(OrientationRequested.PORTRAIT);