Class Epson9PinPrinterDriver
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.Epson9PinPrinterDriver
-
- All Implemented Interfaces:
PrinterDriver
public class Epson9PinPrinterDriver extends AbstractEpsonPrinterDriver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver
AbstractEpsonPrinterDriver.DriverState
-
-
Field Summary
Fields Modifier and Type Field Description static String
EPSON_9PIN_PRINTER_TYPE
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver
FONT_15_CPI, OP_NO_ASSIGN_CHAR_TABLE
-
-
Constructor Summary
Constructors Constructor Description Epson9PinPrinterDriver(OutputStream out, float charsPerInch, float linesPerInch, String printerModel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getDefaultPrinter()
protected PrinterSpecificationManager
getPrinterSpecificationManager()
static PrinterSpecificationManager
loadSpecificationManager()
protected void
sendDefineCharacterWidth(float charactersPerInch)
protected void
sendDefineLineSpacing(float lineHeightInPoints)
protected void
sendFontStyle(boolean bold, boolean italic, boolean underline, boolean strikeTrough)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.AbstractEpsonPrinterDriver
endLine, endPage, flush, getCharactersPerInch, getDriverState, getEncodingUtilities, getFallBackCharset, getFontMapper, getLinesPerInch, getOut, getPrinterSpecification, isFirstPage, printChunk, printEmptyChunk, printRaw, sendDefineCodepage, sendDefineFont, sendDefineHorizontalBorders, sendDefinePageLengthInLines, sendDefineUserCharacters, sendResetPrinter, setFallBackCharset, setFontMapper, startLine, startPage
-
-
-
-
Field Detail
-
EPSON_9PIN_PRINTER_TYPE
public static final String EPSON_9PIN_PRINTER_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Epson9PinPrinterDriver
public Epson9PinPrinterDriver(OutputStream out, float charsPerInch, float linesPerInch, String printerModel)
-
-
Method Detail
-
sendDefineLineSpacing
protected void sendDefineLineSpacing(float lineHeightInPoints) throws IOException
- Specified by:
sendDefineLineSpacing
in classAbstractEpsonPrinterDriver
- Throws:
IOException
-
sendFontStyle
protected void sendFontStyle(boolean bold, boolean italic, boolean underline, boolean strikeTrough) throws IOException
- Specified by:
sendFontStyle
in classAbstractEpsonPrinterDriver
- Throws:
IOException
-
sendDefineCharacterWidth
protected void sendDefineCharacterWidth(float charactersPerInch) throws IOException
- Overrides:
sendDefineCharacterWidth
in classAbstractEpsonPrinterDriver
- Throws:
IOException
-
getPrinterSpecificationManager
protected PrinterSpecificationManager getPrinterSpecificationManager()
- Specified by:
getPrinterSpecificationManager
in classAbstractEpsonPrinterDriver
-
loadSpecificationManager
public static PrinterSpecificationManager loadSpecificationManager()
-
getDefaultPrinter
public static String getDefaultPrinter()
-
-