class Printer class for printing and postscript generation.
| | OutputType |
| | Printer (Config *c, Document *d) constructor. |
| | ~Printer () |
| | Print () print document as postscript to current printer. |
| | ShowPrintPreview () show print preview in separate window. |
| | ExportAs () show popup dialog for exporting to file. |
| | ShowPrinterQueue () show dialog containing printer queue incl.'lprm' option. |
| | Name () popup dialog for new printer name. |
| | Copies () popup dialog for new number of copies. |
| | PrintCommand () popup dialog for setting printer command. |
| | PrinterQueueCommand () popup dialog for setting printer queue command. |
| | PrinterRemoveCommand () popup dialog for setting printer remove command. |
| | PreviewCommand () popup dialog for setting preview command. |
| | SetName (const string *name) |
| | SetCopies (int copies) |
| | SetPrintCommand (const string *command) |
| | SetPageOrientation (int num) set page orientation to portrait or landscape. |
| | SetPageNumbering (bool b) set page numbering on/off. |
| | GetPageOrientation () |
| | SetShowPageBoundary (bool set) set showing of page boundary. |
| | ShowInfo (int type) |
| | SetPageSize (PageSize::Type ps) set pagesize to num. |
| | GetPageSize () return page-size (A4 etc). |
| | GetPageSize (double &width, double &height) return page size (pixels). |
| | GetSizePages (Point &topLeft, Point &bottomRight) get area of used pages. |
| | SetBannerPage (int num) set bannerpage to num. |
| | GetBannerPage () return page-size (DEF\_BANNER etc). |
| | SavePostScript (const string *file, bool TcmBanner) actually save as postscript to the file. |
| | SaveEPS (const string *file) actually save as encapsulated postscript to the file. |
| | SaveFig (const string *file, bool latexfonts=False) actually save as Fig format to the file. |
| | SavePNG (const string *file) actually save as PNG format to the file. |
| | DoSaveAsPS (const string *file) |
| | DoSaveAsEPS (const string *file) |
| | DoSaveAsFigTex (const string *file) |
| | DoSaveAsFigPS (const string *file) |
| | DoSaveAsPNG (const string *file) |
| | UpdateFSFiles () |
| | SetPreviewCommand (const string *newCommand) |
| | SetDefaultFont (int f, int s, int p) |
| | SetPrintColors (bool b) |
| | SetDuplex (bool b) |
| | SetTumble (bool b) |
| | Draw () draw page boundaries, page numbers, header and footer. |
| | Undraw () |
| | GetFileSelectionDialog () |
| | GetPromptDialog () |
| | GetScaleDialog () |
| | GetConfig () |
| | SetStatus (const string *msg) |
| | SetStatus (const char *msg) |
| | SetViewer (Viewer *v) |
| | Save (OutputFile *f) Save page attributes to file. |
| | Load (InputFile *f, double format) Load page attributes from file. |
| | Check (InputFile *f, double format) Check but not load page attributes from file. |
class for printing and postscript generation.
virtual ~Printer()
enum OutputType
void Print()
void ShowPrintPreview()
void ExportAs()
void ShowPrinterQueue()
void Name()
void Copies()
void PrintCommand()
void PrinterQueueCommand()
void PrinterRemoveCommand()
void PreviewCommand()
void SetName(const string *name)
void SetCopies(int copies)
void SetPrintCommand(const string *command)
void SetPageOrientation(int num)
void SetPageNumbering(bool b)
int GetPageOrientation()
void SetShowPageBoundary(bool set)
void ShowInfo(int type)
void SetPageSize(PageSize::Type ps)
PageSize::Type GetPageSize()
void GetPageSize(double &width, double &height)
void GetSizePages(Point &topLeft, Point &bottomRight)
void SetBannerPage(int num)
int GetBannerPage()
bool SavePostScript(const string *file, bool TcmBanner)
bool SaveEPS(const string *file)
bool SaveFig(const string *file, bool latexfonts=False)
bool SavePNG(const string *file)
void DoSaveAsPS(const string *file)
void DoSaveAsEPS(const string *file)
void DoSaveAsFigTex(const string *file)
void DoSaveAsFigPS(const string *file)
void DoSaveAsPNG(const string *file)
void UpdateFSFiles()
void SetPreviewCommand(const string *newCommand)
void SetDefaultFont(int f, int s, int p)
void SetPrintColors(bool b)
void SetDuplex(bool b)
void SetTumble(bool b)
void Draw()
void Undraw()
FileSelectionDialog* GetFileSelectionDialog()
PromptDialog* GetPromptDialog()
ScaleDialog* GetScaleDialog()
Config* GetConfig()
void SetStatus(const string *msg)
void SetStatus(const char *msg)
void SetViewer(Viewer *v)
void Save(OutputFile *f)
bool Load(InputFile *f, double format)
bool Check(InputFile *f, double format)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de