openMSX
|
#include <Printer.hh>
Public Member Functions | |
ImagePrinterEpson (MSXMotherBoard &motherBoard) | |
std::string_view | getName () const override |
Name used to identify this pluggable. | |
std::string_view | getDescription () const override |
Description for this pluggable. | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::ImagePrinter | |
void | write (uint8_t 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. | |
void | setStrobe (bool strobe, EmuTime::param time) override |
Sets the strobe signal: false = low, true = high. | |
void | writeData (uint8_t data, EmuTime::param time) override |
Sets the data signals. | |
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. | |
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. | |
void | unplug (EmuTime::param time) |
This method is called when this pluggable is removed from a connector. | |
Connector * | getConnector () const |
Get the connector this Pluggable is plugged into. | |
bool | isPluggedIn () const |
Returns true if this pluggable is currently plugged into a connector. | |
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 (uint8_t data) |
void | seekPrinterHeadRelative (double offset) |
void | ensurePrintPage () |
void | flushEmulatedPrinter () |
void | printVisibleCharacter (uint8_t 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 |
std::array< uint8_t, MAX_ESC_CMDSIZE > | abEscSeq |
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 |
Definition at line 178 of file Printer.hh.
|
explicit |
Definition at line 1137 of file Printer.cc.
References openmsx::ImagePrinter::resetEmulatedPrinter().
|
overridevirtual |
Description for this pluggable.
Implements openmsx::Pluggable.
Definition at line 1148 of file Printer.cc.
|
overridevirtual |
Name used to identify this pluggable.
Reimplemented from openmsx::Pluggable.
Definition at line 1143 of file Printer.cc.
void openmsx::ImagePrinterEpson::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 1575 of file Printer.cc.