title: How to print PDFs automatically
body: <p>We have a number of systems that produce PDFs that need to be printed.  These are stored on a central document store.  A message then goes onto a JMS queue that the document needs printing.  A service, written in Java , picks these up and then invokes a native command.  This is to call Adobe Reader with the /t flag.  This causes the document to print without the GUI showing.  </p>
  
  <p>However since a power cut this no longer works.  In the interim we are having to manually print hundreds of documents.  We originally tried using Java printing, but the PDFs came out malformed.</p>
  
  <p>What is a better solution to this?</p>