public class BufferedVolumeEmbosser extends AbstractEmbosserWriter
ConfigurableEmbosser,
except that it supports writing each volume separately to a PrinterDevice rather than
to an OutputStream.| Modifier and Type | Class and Description |
|---|---|
static class |
BufferedVolumeEmbosser.Builder
Provides a builder for a BufferedVolumeEmbosser
|
AbstractEmbosserWriter.PaddingEmbosserProperties.PrintModepagebreaks| Modifier and Type | Method and Description |
|---|---|
protected void |
add(byte b)
Adds a byte to the EmbosserWriter output.
|
protected void |
addAll(byte[] bytes)
Adds bytes to the EmbosserWriter output.
|
void |
close() |
protected void |
formFeed()
Performs a form feed on the EmbosserWriter
|
LineBreaks |
getLinebreakStyle()
Gets the line break style for the EmbosserWriter
|
AbstractEmbosserWriter.Padding |
getPaddingStyle()
Gets the form feed padding style for the EmbosserWriter
|
BrailleConverter |
getTable()
Gets the table for the EmbosserWriter
|
void |
newVolumeSectionAndPage(boolean duplex)
Starts a new page on a blank sheet of paper in a new volume
with the specified duplex settings.
|
void |
open(boolean duplex)
Opens for writing using the default contract
|
currentPage, getMaxHeight, getMaxWidth, getPagebreakStyle, getRowGap, init, isClosed, isOpen, lineFeed, newLine, newPage, newSectionAndPage, open, pageIsEmpty, setRowGap, supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding, writepublic void open(boolean duplex)
throws java.io.IOException
EmbosserWriteropen in interface EmbosserWriteropen in class AbstractEmbosserWriterjava.io.IOException - if an I/O exception of some sort has occurredpublic BrailleConverter getTable()
AbstractEmbosserWritergetTable in class AbstractEmbosserWriterpublic LineBreaks getLinebreakStyle()
AbstractEmbosserWritergetLinebreakStyle in class AbstractEmbosserWriterpublic AbstractEmbosserWriter.Padding getPaddingStyle()
AbstractEmbosserWritergetPaddingStyle in class AbstractEmbosserWriterprotected void add(byte b)
AbstractEmbosserWriteradd in class AbstractEmbosserWriterb - the byte to addprotected void addAll(byte[] bytes)
AbstractEmbosserWriteraddAll in class AbstractEmbosserWriterbytes - the bytes to addprotected void formFeed()
throws java.io.IOException
AbstractEmbosserWriterformFeed in class AbstractEmbosserWriterjava.io.IOException - if IO failspublic void newVolumeSectionAndPage(boolean duplex)
throws java.io.IOException
EmbosserWriternewVolumeSectionAndPage in interface EmbosserWriternewVolumeSectionAndPage in class AbstractEmbosserWriterjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class AbstractEmbosserWriterjava.io.IOException