org.simoes.lpd.handler
Class PDFPrintHandler

java.lang.Object
  |
  +--org.simoes.lpd.handler.PDFPrintHandler
All Implemented Interfaces:
HandlerInterface

public class PDFPrintHandler
extends java.lang.Object
implements HandlerInterface

Handles PDF PrintJobs by using AcroRd32 from Adobe to write the PDF's to a printer.

Author:
Chris Simoes

Constructor Summary
PDFPrintHandler()
           
 
Method Summary
 boolean process(PrintJob printJob)
          Writes the printJob to disk using the jobName and jobId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFPrintHandler

public PDFPrintHandler()
Method Detail

process

public boolean process(PrintJob printJob)
Writes the printJob to disk using the jobName and jobId.

Specified by:
process in interface HandlerInterface
Parameters:
printJob - the PrintJob we are processing
Returns:
the result of our work, true for success or false for non-success