CPrintInfo Members

Data Members

m_bContinuePrinting

Contains a flag indicating whether the framework should continue the print loop.

m_bDirect

Contains a flag indicating whether the document is being printed directly (without displaying the Print dialog box).

m_bDocObject

Contains a flag indicating whether the document being printed is a DocObject.

m_bPreview

Contains a flag indicating whether the document is being previewed.

m_dwFlags

Specifies DocObject printing operations.

m_lpUserData

Contains a pointer to a user-created structure.

m_nCurPage

Identifies the number of the page currently being printed.

m_nJobNumber

Specifies the job number assigned by the operating system for the current print job

m_nNumPreviewPages

Identifies the number of pages displayed in the preview window; either 1 or 2.

m_nOffsetPage

Specifies offset of a particular DocObject's first page in a combined DocObject print job.

m_pPD

Contains a pointer to the CPrintDialog object used for the Print dialog box.

m_rectDraw

Specifies a rectangle defining the current usable page area.

m_strPageDesc

Contains a format string for page-number display.

Attributes

GetFromPage

Returns the number of the first page being printed.

GetMaxPage

Returns the number of the last page of the document.

GetMinPage

Returns the number of the first page of the document.

GetOffsetPage

Returns the number of the pages preceding the first page of a DocObject item being printed in a combined DocObject print job.

GetToPage

Returns the number of the last page being printed.

SetMaxPage

Sets the number of the last page of the document.

SetMinPage

Sets the number of the first page of the document.

See Also

Reference

CPrintInfo Structure

Hierarchy Chart