#include "P700Printer.hpp" #include #include namespace ptprnt::printer { P700Printer::P700Printer(std::unique_ptr driver) { if (!driver->open()) { throw std::invalid_argument("Could not open driver!"); } } P700Printer::~P700Printer() { if (!mDriver->close()) { std::cerr << "Could not close driver properly!" << std::endl; } } printer::info P700Printer::getInfo() { return printer::info{}; } bool P700Printer::printText(std::string_view text, uint32_t fontSize) { return false; } bool P700Printer::printBitmap(std::shared_ptr bm) { return false; } } // namespace ptprnt::printer