printerApi.h File Reference
#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include <math.h>
#include "iPrinterList.h"
#include "printConfig.h"
Include dependency graph for printerApi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PrinterManager
 Allows to interact with Printer Service. More...
 

Namespaces

 dpyPrinter
 Deepsy Printer namespace that includes the different enums, structs or method signatures that should be used.
 

Typedefs

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...
 

Detailed Description