Package org.nuclos.api.print
Class PrintProperties
java.lang.Object
org.nuclos.api.print.PrintProperties
- All Implemented Interfaces:
Serializable
class used in
OutputFormat
and FileProvider
setup properties to control the printing process- Author:
- Moritz Neuhaeuser
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
get quantity of printed pagesget print service is used for printoutsget tray of the print serviceboolean
isDuplex()
get is duplex mode enabledvoid
setCopies
(int copies) set quantity of printed pagesvoid
setDuplex
(boolean duplex) set is duplex mode enabledvoid
setPrintServiceId
(UID printServiceId) set print serviceUID
used for printoutsvoid
set trayUID
of the print service
-
Constructor Details
-
PrintProperties
public PrintProperties()
-
-
Method Details
-
getCopies
public int getCopies()get quantity of printed pages- Returns:
- quantity of printouts
-
setCopies
public void setCopies(int copies) set quantity of printed pages- Parameters:
copies
-
-
isDuplex
public boolean isDuplex()get is duplex mode enabled- Returns:
- is duplex mode enabled
-
setDuplex
public void setDuplex(boolean duplex) set is duplex mode enabled- Parameters:
duplex
-
-
getTrayId
get tray of the print service- Returns:
- tray id of the print service
-
setTrayId
set trayUID
of the print service- Parameters:
trayId
-
-
getPrintServiceId
get print service is used for printouts- Returns:
- print service id used for printouts
-
setPrintServiceId
set print serviceUID
used for printouts- Parameters:
printServiceId
-
-