1 #ifndef PRINTOUTPUT_H 2 #define PRINTOUTPUT_H 3 4 #include "support/configdb.h" 5 #include "support/consumer.h" 6 #include "printerqueueswrapper.h" 7 8 #define DEFAULT_PRINTER_DRIVER "ps2" 9 10 class PrintOutput : public ConfigDB, public PrinterQueues 11 { 12 public: 13 PrintOutput(ConfigFile *inif,const char *section); 14 Consumer *GetConsumer(const char *extendedopts=NULL); 15 void DBToQueues(); 16 void QueuesToDB(); 17 private: 18 static ConfigTemplate Template[]; 19 char *str2; 20 }; 21 22 #endif 23