|
class CPrinter {
public:
CPrinter(CDC * dc);
virtual ~CPrinter();
BOOL StartPrinting();
void EndPrinting();
void PrintLine(const CString & s);
virtual void PageHeading();
virtual void SetPrinterFont();
int GetPageNumber() { return pageNumber; }
protected:
CDC * dc;
int pageVMargin;
int pageHMargin;
int pageHeight;
int pageWidth;
int Y;
int lineHeight;
BOOL pageStarted;
BOOL docStarted;
int pageNumber;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.