com.snowtide.pdf.util
Class KodakPrintData

java.lang.Object
  extended by com.snowtide.pdf.util.KodakPrintData

public class KodakPrintData
extends java.lang.Object

This class extracts Kodak print job data (%KDK commands). KDK commands are a Kodak-specific extension to the PDF file format; they are used to specify print settings to Kodak printers (such as copy counts, duplex options, finishing options, etc). Simply pass an open PDFTextStream instance to extract(PDFTextStream) to check for and extract any KDK data contained in the associated PDF document.

Since:
v2.1
Version:
©2004-2012 Snowtide Informatics Systems, Inc.

Method Summary
static KodakPrintData extract(PDFTextStream stream)
           
 byte[] getData()
          Returns the raw KDK print job data as extracted from the PDF document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getData

public byte[] getData()
Returns the raw KDK print job data as extracted from the PDF document.


extract

public static KodakPrintData extract(PDFTextStream stream)
                              throws java.io.IOException
Throws:
java.io.IOException