java - How to print PDFs automatically -


There are several such systems which produce PDF, which need to be printed. These are stored on a central document archive. A message then goes to a JMS queue that requires printing of documents. A service written in Java, raises them and then invokes a basic command. This is the call to the Adobe Reader with a T-flag. This document causes the print to appear without showing the GUI.

However, since a power cut it does not work anymore, in the interim, we have to manually print hundreds of documents. We originally tried to use Java printing, but the PDF got damaged.

What is the better solution?

This code only works if the printer supports PDF. Otherwise you will have to use a native printer or Java library.

has a blog article on it

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -