There is a problem when trying to print labels on a thermal transfer printer. The Seagull drivers are used (although with their own drivers does not work). When printing with JasperReports Library, the print dialog does not show the existing paper size in the printer. The driver has the sizes 2"x4", 4"x4" and 4"x6", plus a custom size (which is the one I need), and appear only 2"x4" and 4"x6" sizes. Jasperreports builds the page with the correct size (I check with getPageHeight () and getPageWidth ()), but the print dialog keeps the paper size to 2"x4" instead of the custom size (1"x2") which is what is collected properly with JasperFillManager . fillReport (). Even switching between formats showing the dialog, do not change the margin settings. I think the problem is that the Library does not collect properly the print sizes for this type of printers and therefore does not print labels on them. It should be noted that when performing printing from iReport program, the labels print correctly. Below the code used. print = net.sf.jasperreports.engine.JasperFillManager.fillReport(formulario, jasperHM, connection); exporter = new JRPrintServiceExporter(); PrintService prs = buscaImpresora(getImpresoraSistema()); if (prs == null) { PrinterJob prj = PrinterJob.getPrinterJob(); prs = prj.getPrintService(); } exporter.setParameter(JRExporterParameter.JASPER_PRINT, print); if (prs != null) exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE, prs); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, pras); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, mostrarDlgImpresoras); //Boolean.TRUE exporter.exportReport(); Is there any way to set the paper size correctly? Thanks in advance