public interface Embosser extends Factory, EmbosserFactoryProperties, EmbosserProperties
FactoryProperties.ComparatorBuilder
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(OutputStream os)
Gets a new EmbosserWriter that writes to the supplied OutputStream
|
boolean |
supportsPageFormat(PageFormat pageFormat)
Returns true if the page format is supported.
|
boolean |
supportsPaper(Paper paper)
Returns thue if the paper is supported.
|
boolean |
supportsPrintPage(PrintPage printPage)
Returns true if dimension is supported
|
boolean |
supportsTable(Table table)
Returns true if table is supported
|
getFeature, getProperty, setFeature
getMake, getModel
getDescription, getDisplayName, getIdentifier, newComparatorBuilder
supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding
boolean supportsPrintPage(PrintPage printPage)
printPage
- the dimension to testboolean supportsPageFormat(PageFormat pageFormat)
pageFormat
- the page formatboolean supportsPaper(Paper paper)
paper
- the paperboolean supportsTable(Table table)
table
- the table to testTableFilter getTableFilter()
EmbosserWriter newEmbosserWriter(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