pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler <andr...@lehmi.de>
Subject Re: PDFBox markup printing on silent
Date Tue, 29 Jan 2013 11:27:02 GMT
Hi,

Am 29.01.13 00:59, schrieb John Cashion:
> Here was my solution for those that need it in the future. Since i couldn't
> find something directly in pdfbox, I used the Desktop to call the reader
> file and then print that natively from the desktop. example code is here
>
>      public void printOrder(){
>          try {
>              File myFile = new File(finished);
>              //Desktop.getDesktop().open(myFile);
>              Desktop.getDesktop().print(myFile);
>              doc.close();
>          } catch (IOException ex) {
>              // no application registered for PDFs
>          }
>      }
>
Thanks for coming back and sharing your solution with us. It emphasizes
my guess that the feature you are looking for isn't (yet) supported by
PDFBox but by the application (Adobe reader?) which is registered on
your desktop to handle PDFs.

BR
Andreas Lehmkühler


Mime
View raw message