|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver
public abstract class AbstractEpsonPrinterDriver
Field Summary | |
---|---|
static String |
FONT_15_CPI
|
static String |
OP_NO_ASSIGN_CHAR_TABLE
|
Method Summary | |
---|---|
void |
endLine(boolean overflow)
Ends a new line. |
void |
endPage(boolean overflow)
Ends the current page. |
void |
flush()
Flushes the output stream. |
float |
getCharactersPerInch()
Gets the default character width in CPI. |
org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver.DriverState |
getDriverState()
|
byte |
getFallBackCharset()
|
FontMapper |
getFontMapper()
|
float |
getLinesPerInch()
Gets the default line height. |
PrinterSpecification |
getPrinterSpecification()
|
void |
printChunk(PlaintextDataChunk chunk)
Prints a single text chunk at the given position on the current line. |
void |
printEmptyChunk(int count)
Prints an empty chunk. |
void |
printRaw(byte[] raw)
Prints some raw content. |
void |
setFallBackCharset(byte fallBackCharset)
|
void |
setFontMapper(FontMapper fontMapper)
|
void |
startLine()
Starts a new line. |
void |
startPage(Paper paper,
String encoding)
Resets the printer and starts a new page. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OP_NO_ASSIGN_CHAR_TABLE
public static final String FONT_15_CPI
Method Detail |
---|
public org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver.DriverState getDriverState()
public FontMapper getFontMapper()
public void setFontMapper(FontMapper fontMapper)
public PrinterSpecification getPrinterSpecification()
public void endLine(boolean overflow) throws IOException
endLine
in interface PrinterDriver
overflow
-
IOException
- if an IOError occures.public void endPage(boolean overflow) throws IOException
endPage
in interface PrinterDriver
overflow
-
IOException
- if there was an IOError while writing the commandpublic float getCharactersPerInch()
getCharactersPerInch
in interface PrinterDriver
public float getLinesPerInch()
getLinesPerInch
in interface PrinterDriver
public void flush() throws IOException
flush
in interface PrinterDriver
IOException
- if an IOError occured.public void printChunk(PlaintextDataChunk chunk) throws IOException
printChunk
in interface PrinterDriver
chunk
- the chunk that should be written
IOException
- if an IO error occured.public void printEmptyChunk(int count) throws IOException
printEmptyChunk
in interface PrinterDriver
IOException
- if an IOError occured.public void printRaw(byte[] raw) throws IOException
printRaw
in interface PrinterDriver
raw
- the content that should be printed.
IOException
public void startLine() throws IOException
startLine
in interface PrinterDriver
IOException
- if an IOError occures.public void startPage(Paper paper, String encoding) throws IOException
startPage
in interface PrinterDriver
IOException
- if there was an IOError while writing the commandpublic byte getFallBackCharset()
public void setFallBackCharset(byte fallBackCharset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |