iPrinter.h
100 virtual void PrinterStatusChange(std::string printerid, const dpyPrinter::PrinterStatus& status) = 0;
108 virtual void PrinterNewEvent(std::string printerid, const dpyPrinter::PrinterEvent& event, bool active) = 0;
116 virtual void PaperNewEvent(boost::system::error_code ec, const std::string &printerid, const dpyPrinter::PaperLevel& event) = 0;
148 virtual boost::system::error_code printImage(const std::string& uri, std::list<PrintConfig> configs, boost::shared_ptr<IJob>& job) = 0;
149 virtual boost::system::error_code printHtml(const std::string& uri, std::list<PrintConfig> configs, boost::shared_ptr<IJob>& job) = 0;
155 virtual boost::system::error_code getPrinterInformation(dpyPrinter::PrinterInfo& printConfig) = 0;
std::int32_t cutterMargin
cutter margin
Definition: iPrinter.h:68
Abstract class which implements all the minimum necessary logic which all printer must have...
Definition: iPrinter.h:130
std::int32_t maxCutsNumber
max cuts number
Definition: iPrinter.h:71
std::string serialnumber
Printer serial number.
Definition: iPrinter.h:55
PrinterStatus printerStatus
Printer status.
Definition: iPrinter.h:56
Deepsy Printer namespace that includes the different enums, structs or method signatures that should ...
Definition: printerApi.h:13
std::int32_t minimalImageWidth
minimal image width
Definition: iPrinter.h:69
std::list< PrinterEvent > events
List of printer events.
Definition: iPrinter.h:57
std::int32_t minimalImageLength
minimal image length
Definition: iPrinter.h:70
std::int32_t maxPaperKm
max km of printed paper
Definition: iPrinter.h:72
std::int32_t maxPaperWidht
max paper width
Definition: iPrinter.h:65
std::int32_t maxUpperMargin
max upper margin
Definition: iPrinter.h:66
std::int32_t resolutionDotsPerMillimeter
resolution
Definition: iPrinter.h:73
std::int32_t dotsPerLine
dots per line
Definition: iPrinter.h:64
Definition: iPrinter.h:76
std::int32_t maxBottomMargin
max bottom margin
Definition: iPrinter.h:67