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)
 
const std::string & 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 override
 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 conector. 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
 
double printAreaBottom
 
double pixelSizeX
 
double pixelSizeY
 
int eightBit
 
unsigned perforationSkip
 
unsigned leftBorder
 
unsigned rightBorder
 
unsigned fontWidth
 
unsigned remainingCommandBytes
 
unsigned sizeEscPos
 
unsigned sizeRemainingDataBytes
 
unsigned ramLoadOffset
 
unsigned ramLoadEnd
 
unsigned lines
 
CountryCode countryCode
 
byte abEscSeq [MAX_ESC_CMDSIZE]
 
struct openmsx::ImagePrinter::FontInfo fontInfo
 
bool letterQuality
 
bool bold
 
bool proportional
 
bool italic
 
bool superscript
 
bool subscript
 
bool doubleWidth
 
bool underline
 
bool doubleStrike
 
bool escSequence
 
bool alternateChar
 
bool detectPaperOut
 
bool japanese
 
bool normalAfterLine
 
bool ninePinGraphics
 
bool leftToRight
 
bool elite
 
bool compressed
 
bool noHighEscapeCodes
 
- 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 195 of file Printer.hh.

Constructor & Destructor Documentation

◆ ImagePrinterEpson()

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

Definition at line 1202 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 1214 of file Printer.cc.

◆ getName()

const string & openmsx::ImagePrinterEpson::getName ( ) const
overridevirtual

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 1208 of file Printer.cc.

◆ serialize()

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

Definition at line 1642 of file Printer.cc.


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