public interface Embosser extends Factory, EmbosserProperties
EmbosserProperties.PrintMode
Modifier and Type | Method and Description |
---|---|
int |
getMaxHeight(PageFormat pageFormat)
Gets the max height for the specified page format
|
int |
getMaxWidth(PageFormat pageFormat)
Gets the max width for the specified page format
|
Area |
getPrintableArea(PageFormat pageFormat)
Gets the printable area for the specified page format
|
PrintPage |
getPrintPage(PageFormat pageFormat)
Gets the dimensions of one print page for the specified page format
|
TableFilter |
getTableFilter()
Gets a table filter that returns true if supportsTable returns true
|
EmbosserWriter |
newEmbosserWriter(Device device)
Gets a new EmbosserWriter that writes to the supplied Device
|
EmbosserWriter |
newEmbosserWriter(java.io.OutputStream os)
Gets a new EmbosserWriter that writes to the supplied OutputStream
|
boolean |
supportsPageFormat(PageFormat pageFormat) |
boolean |
supportsPaper(Paper paper) |
boolean |
supportsPrintPage(PrintPage printPage)
Returns true if dimension is supported
|
boolean |
supportsTable(Table table)
Returns true if table is supported
|
getDescription, getDisplayName, getFeature, getIdentifier, getProperty, setFeature
supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding
boolean supportsPrintPage(PrintPage printPage)
printPage
- the dimension to testboolean supportsPageFormat(PageFormat pageFormat)
boolean supportsPaper(Paper paper)
boolean supportsTable(Table table)
table
- the table to testTableFilter getTableFilter()
EmbosserWriter newEmbosserWriter(java.io.OutputStream os)
os
- the OutputStream that the EmbosserWriter should useEmbosserWriter newEmbosserWriter(Device device)
device
- the device that the EmbosserWriter should useint getMaxWidth(PageFormat pageFormat)
pageFormat
- the page formatint getMaxHeight(PageFormat pageFormat)
pageFormat
- the page formatPrintPage getPrintPage(PageFormat pageFormat)
pageFormat
- the page formatArea getPrintableArea(PageFormat pageFormat)
pageFormat
- the page format