public class PrintProperties
extends java.lang.Object
implements java.io.Serializable
OutputFormat
and FileProvider
setup properties to control the printing processConstructor and Description |
---|
PrintProperties() |
Modifier and Type | Method and Description |
---|---|
int |
getCopies()
get quantity of printed pages
|
UID |
getPrintServiceId()
get print service is used for printouts
|
UID |
getTrayId()
get tray of the print service
|
boolean |
isDuplex()
get is duplex mode enabled
|
void |
setCopies(int copies)
set quantity of printed pages
|
void |
setDuplex(boolean duplex)
set is duplex mode enabled
|
void |
setPrintServiceId(UID printServiceId)
set print service
UID used for printouts |
void |
setTrayId(UID trayId)
set tray
UID of the print service |
public int getCopies()
public void setCopies(int copies)
copies
- public boolean isDuplex()
public void setDuplex(boolean duplex)
duplex
- public UID getTrayId()
public UID getPrintServiceId()
Copyright © 2024. All rights reserved.