openMSX
Public Member Functions | List of all members
openmsx::ImagePrinterEpson Class Referencefinal

#include <Printer.hh>

Inheritance diagram for openmsx::ImagePrinterEpson:
Inheritance graph
[legend]
Collaboration diagram for openmsx::ImagePrinterEpson:
Collaboration graph
[legend]

Public Member Functions

 ImagePrinterEpson (MSXMotherBoard &motherBoard)
 
std::string_view getName () const override
 Name used to identify this pluggable. More...
 
std::string_view getDescription () const override
 Description for this pluggable. More...
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::ImagePrinter
void write (byte data) override
 
void forceFormFeed () override
 
- Public Member Functions inherited from openmsx::PrinterCore
bool getStatus (EmuTime::param time) override
 Returns the STATUS signal: false = low = ready, true = high = not ready. More...
 
void setStrobe (bool strobe, EmuTime::param time) override
 Sets the strobe signal: false = low, true = high. More...
 
void writeData (byte data, EmuTime::param time) override
 Sets the data signals. More...
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
- Public Member Functions inherited from openmsx::PrinterPortDevice
std::string_view getClass () const final
 A pluggable belongs to a certain class. More...
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
 
void plug (Connector &connector, EmuTime::param time)
 This method is called when this pluggable is inserted in a connector. More...
 
void unplug (EmuTime::param time)
 This method is called when this pluggable is removed from a connector. More...
 
ConnectorgetConnector () const
 Get the connector this Pluggable is plugged into. More...
 
bool isPluggedIn () const
 Returns true if this pluggable is currently plugged into a connector. More...
 

Additional Inherited Members

- Protected Types inherited from openmsx::ImagePrinter
enum  CountryCode {
  CC_USA = 0 , CC_FRANCE = 1 , CC_GERMANY = 2 , CC_UNITED_KINGDOM = 3 ,
  CC_DENMARK = 4 , CC_SWEDEN = 5 , CC_ITALY = 6 , CC_SPAIN = 7 ,
  CC_JAPAN = 8
}
 
- Protected Member Functions inherited from openmsx::ImagePrinter
 ImagePrinter (MSXMotherBoard &motherBoard, bool graphicsHiLo)
 
 ~ImagePrinter () override
 
void resetEmulatedPrinter ()
 
void printGraphicByte (byte data)
 
void seekPrinterHeadRelative (double offset)
 
void ensurePrintPage ()
 
void flushEmulatedPrinter ()
 
void printVisibleCharacter (byte data)
 
void plot9Dots (double x, double y, unsigned pattern)
 
- Protected Member Functions inherited from openmsx::PrinterCore
 PrinterCore ()=default
 
 ~PrinterCore () override=default
 
- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
 
void setConnector (Connector *conn)
 
- Protected Attributes inherited from openmsx::ImagePrinter
double graphDensity
 
double fontDensity
 
double hpos
 
double vpos
 
double pageTop
 
double lineFeed
 
double pageHeight
 
double printAreaTop = -1.0
 
double printAreaBottom = 0.0
 
double pixelSizeX
 
double pixelSizeY
 
int eightBit = 0
 
unsigned perforationSkip = 0
 
unsigned leftBorder
 
unsigned rightBorder
 
unsigned fontWidth
 
unsigned remainingCommandBytes = 0
 
unsigned sizeEscPos = 0
 
unsigned sizeRemainingDataBytes = 0
 
unsigned ramLoadOffset = 0
 
unsigned ramLoadEnd = 0
 
unsigned lines
 
CountryCode countryCode = CC_USA
 
byte abEscSeq [MAX_ESC_CMDSIZE]
 
struct openmsx::ImagePrinter::FontInfo fontInfo
 
bool letterQuality = false
 
bool bold = false
 
bool proportional = false
 
bool italic = false
 
bool superscript = false
 
bool subscript = false
 
bool doubleWidth = false
 
bool underline = false
 
bool doubleStrike = false
 
bool escSequence = false
 
bool alternateChar = false
 
bool detectPaperOut = false
 
bool japanese = false
 
bool normalAfterLine = false
 
bool ninePinGraphics = false
 
bool leftToRight = false
 
bool elite = false
 
bool compressed = false
 
bool noHighEscapeCodes = false
 
- Static Protected Attributes inherited from openmsx::ImagePrinter
static constexpr unsigned PIXEL_WIDTH = 8
 
static constexpr int MAX_ESC_CMDSIZE = 8
 
static constexpr int MAX_FONT_WIDTH = 12
 

Detailed Description

Definition at line 197 of file Printer.hh.

Constructor & Destructor Documentation

◆ ImagePrinterEpson()

openmsx::ImagePrinterEpson::ImagePrinterEpson ( MSXMotherBoard motherBoard)
explicit

Definition at line 1161 of file Printer.cc.

References openmsx::ImagePrinter::resetEmulatedPrinter().

Member Function Documentation

◆ getDescription()

std::string_view openmsx::ImagePrinterEpson::getDescription ( ) const
overridevirtual

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 1172 of file Printer.cc.

◆ getName()

std::string_view openmsx::ImagePrinterEpson::getName ( ) const
overridevirtual

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 1167 of file Printer.cc.

◆ serialize()

template<typename Archive >
void openmsx::ImagePrinterEpson::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 1599 of file Printer.cc.


The documentation for this class was generated from the following files: