Deepsy Printer namespace that includes the different enums, structs or method signatures that should be used.
|
typedef boost::function< void(const bool &available)> | service_availability_handler |
| Prototype of the handler function used to monitor service availability. More...
|
|
typedef boost::function< void(boost::system::error_code error_code)> | result_handler_function |
| Prototype of the handler function for obtaining a result. More...
|
|
typedef boost::function< void(boost::system::error_code, std::list< std::string > printers)> | print_list_handler |
| Prototype of the handler function for getting available printers. More...
|
|
typedef boost::function< void(boost::system::error_code, std::list< PrintConfig > printerconfigs)> | printerconfig_handler_function |
| Prototype of the handler function for getting printer configuration. More...
|
|
typedef boost::function< void(boost::system::error_code, PrinterInfo printerinfo)> | printer_info_handler |
| Prototype of the handler function for getting available printers. More...
|
|
typedef boost::function< void(boost::system::error_code, dpyPrinter::JobInformation jobinfo)> | job_info_handler |
| Prototype of the handler function for getting available printers. More...
|
|
typedef boost::function< void(boost::system::error_code, std::list< std::pair< int, dpyPrinter::JobInformation >> jobinfolist)> | all_job_info_handler |
| Prototype of the handler function for getting available printers. More...
|
|
typedef boost::function< void(boost::system::error_code, std::string printerid, ListEvent event)> | printer_list_event_handler_function |
| Prototype of the handler function for subscribing to list events. More...
|
|
typedef boost::function< void(boost::system::error_code, int jobid, JobStatus status)> | job_status_event_handler_function |
| Prototype of the handler function for subscribing to job status events. More...
|
|
typedef boost::function< void(boost::system::error_code, std::string printerId, PaperLevel level)> | paper_level_event_handler_function |
| Prototype of the handler function for subscribing to paper level events. More...
|
|
typedef boost::function< void(boost::system::error_code, std::string printerid, PrinterEvent event, bool active)> | printer_event_handler_function |
| Prototype of the handler function for subscribing to printer events. More...
|
|
typedef boost::function< void(boost::system::error_code, std::string printerid, PrinterStatus status)> | printer_status_event_handler_function |
| Prototype of the handler function for subscribing to printer status events. More...
|
|
typedef boost::function< void(boost::system::error_code, int jobid)> | print_image_handler |
| Prototype of the handler function for printing images. More...
|
|
typedef boost::function< void(boost::system::error_code, int jobid)> | print_html_handler |
| Prototype of the handler function for printing from html files. More...
|
|
typedef boost::function< void(boost::system::error_code, std::vector< dpyPrinter::NVImage > imageslist)> | printerimagelist_handler_function |
| Prototype of the handler function for getting list of images saved in non-volatile memory. More...
|
|
typedef boost::function< void(boost::system::error_code, std::string printerid, ListEvent event, dpyPrinter::NVImage image)> | printer_imagelist_event_handler_function |
| Prototype of the handler function for subscribing to non-volatile memory images events. More...
|
|
|
enum | JobStatus {
UNKNOWN_STATUS = 0,
QUEUED = 1,
PRINT_OK = 2,
ERROR_BEFORE_PRINTING = 3,
ERROR_WHILE_PRINTING = 4,
ERROR_AFTER_PRINTING = 5,
JOB_REMOVED = 6
} |
|
enum | PrinterType { GENERIC = 0,
APSECP2324 = 1,
APSECP3324 = 2
} |
| Printer types.
|
|
enum | PrinterStatus { PRINTER_IDLE = 0,
PRINTING = 1,
PRINTER_ERROR = 2,
UPDATING = 4
} |
| Possible Printer Status. More...
|
|
enum | PrinterEvent {
PAPER_LIMIT = 0,
CUTS_LIMIT = 1,
END_OF_PAPER = 2,
HEAD_TEMPERATURE = 3,
POWER_SUPPLY = 4,
COVER_OPEN = 5,
PAPER_JAM = 6,
AUTOCUTTER_ERROR = 7
} |
| Printer events. More...
|
|
enum | PaperLevel {
CRITICAL_PAPER = 1,
LOW_PAPER = 2,
MEDIUM_PAPER = 3,
HIGH_PAPER = 4,
FULL_PAPER = 5,
ERROR_PAPER = 99
} |
| Paper level. More...
|
|
enum | ListEvent { ADDED = 0,
REMOVED = 1
} |
|
enum | PrintSpeed { ULTRASLOW,
SLOW,
NORMAL,
FAST
} |
| Print speed value (for SPEED parameter) More...
|
|
enum | PrintIntensity { LOW,
MEDIUM,
HIGH
} |
| Print intensity value (for INTENSITY parameter) More...
|
|
enum | CutProfile { NONE = 0,
PARTIAL = 1,
FULL = 2
} |
| Cut profile value (for CUT_PROFILE parameter) More...
|
|
enum | Parameter {
UNKNOWN = -1,
PAPER_WIDTH = 0,
TICKET_OFFSET = 1,
UPPER_MARGIN = 2,
LEFT_MARGIN = 3,
RIGHT_MARGIN = 4,
BOTTOM_MARGIN = 5,
INTENSITY = 6,
CUT_PROFILE = 7,
PAPER_ADJ = 8,
SPEED = 9
} |
| Configuration parameter. More...
|
|
enum | PaperSensor { PAPER_SENSOR1 = 1,
PAPER_SENSOR2 = 2,
PAPER_SENSOR3 = 3,
PAPER_SENSOR4 = 4
} |
| Configuration parameter. More...
|
|