CPrintInfo::m_nJobNumber
Indicates the job number assigned by the operating system for the current print job.
Заметки
This value may be SP_ERROR if the job hasn't yet printed (that is, if the CPrintInfo object is newly constructed and has not yet been used to print), or if there was an error in starting the job.
Requirements
Header: afxext.h