119120121122123124125126127128129
printerFound = true; } } } printJob.setPageable(new PDPageable(document, printJob)); if( silentPrint || printJob.printDialog()) { printJob.print(); } }
134135136137138139140141142143144145
{ try { if (document != null) { PDPageable pageable = new PDPageable(document); PrinterJob job = pageable.getPrinterJob(); job.setPageable(pageable); if (job.printDialog()) { job.print(); }
135136137138139140141142143144145146
137138139140141142143144145146147148