title: PDF Silent print with Apache PDFBox missed margins and orientation
body: <p>My Java application uses PdfBox apache library to print silently PDF to Windows printer.
  For some reason, some document are not well printed because the margins or the orientation are missing.</p>
  <pre><code>PDDocument pdfdoc=null;
  try{
      pdfdoc=PDDocument.load(new ByteArrayInputStream(pdfByteArrayContent));
      PrinterJob printJob = PrinterJob.getPrinterJob();
      printJob.setPrintService(printerService);
      printJob.setCopies(nrcopies);
      printJob.setJobName(jobname);
      pdfdoc.silentPrint(printJob);
  }finally{
      if(pdfdoc!=null) pdfdoc.close();            
  }
  </code></pre>
  <p>This is my very simple code, the printService object is getted from <code>PrinterJob.lookupPrintServices();</code></p>
  <p>Is there any option to fix margins and orientation for PdfBox silent print?</p>