20 #ifndef MATICHANDLER_H
21 #define MATICHANDLER_H
23 #include "lprhandler.h"
29 class MaticHandler :
public LprHandler
32 MaticHandler(KMManager *mgr = 0);
34 bool validate(PrintcapEntry*);
35 KMPrinter* createPrinter(PrintcapEntry*);
36 bool completePrinter(KMPrinter*, PrintcapEntry*,
bool =
true);
37 DrMain* loadDriver(KMPrinter*, PrintcapEntry*,
bool =
false);
38 DrMain* loadDbDriver(
const TQString&);
39 bool savePrinterDriver(KMPrinter*, PrintcapEntry*, DrMain*,
bool* = 0);
40 PrintcapEntry* createEntry(KMPrinter*);
41 bool removePrinter(KMPrinter*, PrintcapEntry*);
45 TQString driverDirInternal();
48 TQString parsePostpipe(
const TQString&);
49 TQString createPostpipe(
const TQString&);
50 bool savePpdFile(DrMain*,
const TQString&);
53 TQString m_exematicpath;
54 TQString m_ncpath, m_smbpath, m_rlprpath;
This class is the main interface to access the TDE print framework.