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.
Modifier and Type | Method and Description |
---|---|
static KodakPrintData |
extract(PDFTextStream stream) |
byte[] |
getData()
Returns the raw KDK print job data as extracted from the PDF document.
|
public byte[] getData()
public static KodakPrintData extract(PDFTextStream stream) throws java.io.IOException
java.io.IOException