Class Epson24PinPrinterDriver
- 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.Epson24PinPrinterDriver
-
- All Implemented Interfaces:
PrinterDriver
public class Epson24PinPrinterDriver 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_24PIN_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 Epson24PinPrinterDriver(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
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, sendDefineCharacterWidth, sendDefineCodepage, sendDefineFont, sendDefineHorizontalBorders, sendDefinePageLengthInLines, sendDefineUserCharacters, sendResetPrinter, setFallBackCharset, setFontMapper, startLine, startPage
-
-
-
-
Field Detail
-
EPSON_24PIN_PRINTER_TYPE
public static final String EPSON_24PIN_PRINTER_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Epson24PinPrinterDriver
public Epson24PinPrinterDriver(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
-
getPrinterSpecificationManager
protected PrinterSpecificationManager getPrinterSpecificationManager()
- Specified by:
getPrinterSpecificationManager
in classAbstractEpsonPrinterDriver
-
loadSpecificationManager
public static PrinterSpecificationManager loadSpecificationManager()
-
getDefaultPrinter
public static String getDefaultPrinter()
-
-