org.cups4j
Class PrintJob

java.lang.Object
  extended by org.cups4j.PrintJob

public class PrintJob
extends java.lang.Object

Print job class


Nested Class Summary
static class PrintJob.Builder
           Builds PrintJob objects like so: PrintJob printJob = new PrintJob.Builder(document).jobName("jobXY").userName ("harald").copies(2).build(); documents are supplied as byte[] or as InputStream
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
           
 int getCopies()
           
 java.io.InputStream getDocument()
           
 java.lang.String getJobName()
           
 java.lang.String getPageRanges()
           
 java.lang.String getUserName()
           
 boolean isDuplex()
           
 void setAttributes(java.util.Map<java.lang.String,java.lang.String> printJobAttributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()

getDocument

public java.io.InputStream getDocument()

getCopies

public int getCopies()

getPageRanges

public java.lang.String getPageRanges()

getUserName

public java.lang.String getUserName()

isDuplex

public boolean isDuplex()

setAttributes

public void setAttributes(java.util.Map<java.lang.String,java.lang.String> printJobAttributes)

getJobName

public java.lang.String getJobName()


Copyright © 2009 Harald Weyhing. All Rights Reserved.