1 #ifndef GPRINTERSETTINGS_H
2 #define GPRINTERSETTINGS_H
3 
4 #include <gutenprint/gutenprint.h>
5 
6 #include "support/pageextent.h"
7 #include "printoutput.h"
8 
9 class GPrinterSettings : public ConfigSectionHandler, public PageExtent
10 {
11 	public:
12 	GPrinterSettings(PrintOutput &output,ConfigFile *inf,const char *section);
13 	~GPrinterSettings();
14 	void ParseString(const char *string);
15 	void SaveSection(FILE *file);
16 	void SelectSection();
17 	bool SetDriver(const char *driver);
18 	void Validate();
19 	void Reset();
20 	void Dump();
21 	stp_vars_t *stpvars;
22 	protected:
23 	PrintOutput &output;
24 	private:
25 	bool initialised;
26 	bool ppdsizes_workaround_done;
27 };
28 
29 
30 #endif
31