NONCONFIDENTIAL // EXTERNAL I'm using the version 2.0.20 and working on Windows OS.
-----Original Message----- From: Tilman Hausherr <[email protected]> Sent: Wednesday, July 08, 2020 11:01 AM To: [email protected] Subject: [External] Re: Silent printing has a blank window left open NONCONFIDENTIAL // EXTERNAL PLEASE NOTE: This email is not from a Federal Reserve address. Do not click on suspicious links. Do not give out personal or bank information to unknown senders. Hi, What PDFBox version are you using, and on what operating system are you working? Tilman Am 08.07.2020 um 19:51 schrieb Subbiah, Murugan: > NONCONFIDENTIAL // EXTERNAL > Hi PDFBox users, > > I'm trying to evaluate PDFBox for silent printing, everything works fine > except it leaves an empty window open. Could anyone help me fix this issue? > > Below is my code > > try (PDDocument doc = PDDocument.load(bais);) { > PrinterJob job = PrinterJob.getPrinterJob(); > job.setPageable(new PDFPageable(doc)); > job.print(); > } catch (IOException | PrinterException ioe) { > ioe.printStackTrace(); > } > > Best Regards, > Murugan. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

