GPrinter Class Reference

Class to connect to a printer and start printing pages. More...

#include <GPrinter.h>

List of all members.

Public Member Functions

void SetPages (int p)
 Set number of pages in document (if known).
int GetPages ()
 Get the number of pages in the document.
bool GetPageRange (GArray< int > &p)
 Get the range of pages to print that was selected by the user.
GPrintDCStartDC (char *PrintJobName, GView *Parent=0)
 Start a print job.
bool Browse (GView *Parent)
 Browse to a printer.
bool Serialize (char *&Str, bool Write)
 Write the user selected printer to a string for storage.


Detailed Description

Class to connect to a printer and start printing pages.

Member Function Documentation

bool GPrinter::GetPageRange ( GArray< int > &  p  ) 

Get the range of pages to print that was selected by the user.

Parameters:
p  You'll get pairs of ints, each pair is the start and end page number of a range to print. i.e. [5, 10], [14, 16]


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:03 2010 for Lgi by  doxygen 1.5.7.1