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

#include <Printer.hh>

Inheritance diagram for openmsx::ImagePrinterMSX:
Inheritance graph
Collaboration diagram for openmsx::ImagePrinterMSX:
Collaboration graph

Public Member Functions

 ImagePrinterMSX (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_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 173 of file Printer.hh.

Constructor & Destructor Documentation

◆ ImagePrinterMSX()

openmsx::ImagePrinterMSX::ImagePrinterMSX ( MSXMotherBoard motherBoard)

Member Function Documentation

◆ getDescription()

std::string_view openmsx::ImagePrinterMSX::getDescription ( ) const

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 634 of file

◆ getName()

std::string_view openmsx::ImagePrinterMSX::getName ( ) const

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 629 of file

◆ serialize()

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

Definition at line 927 of file

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