PEJobInfo

Contains print job process and display information that is used by PEGetJobStatus.

C Syntax
typedef struct PEJobInfo {
    WORD StructSize;
    DWORD NumRecordsRead;
    DWORD NumRecordsSelected;
    DWORD NumRecordsPrinted;
    WORD DisplayPageN;
    WORD LatestPageN;
    WORD StartPageN;
    BOOL printEnded;
} PEJobInfo;
Members

StructSize

Specifies the size of the PEJobInfo structure. Initialize to PE_SIZEOF_JOB_INFO.

NumRecordsRead

Specifies the number of records actually processed.

NumRecordsSelected

Specifies the number of records selected for inclusion in the report out of the total number of records read.

NumRecordsPrinted

Specifies the number of records actually printed or previewed.

DisplayPageN

Specifies the page number of the currently displayed page in the preview window.

LatestPageN

Specifies the page being generated. Once the printing is complete, this value is the number of the last page.

StartPageN

Specifies the number of the starting page. The value will normally be 1, but you can specify something else using PESetPrintOptions.

printEnded

Specifies whether or not the printing process is completed. TRUE indicates that this process is completed; FALSE indicates that is not yet complete. When printing to a preview window, printEnded is True only when the last page is reached.

VB Type Listing
Type PEJobInfo
    StructSize As Integer
    NumRecordsRead As Long
    NumRecordsSelected As Long
    NumRecordsPrinted As Long
    DisplayPageN As Integer
    LatestPageN As Integer
    StartPageN As Integer
    PrintEnded As Long
Type PEJobInfo
Delphi Record Listing
type
    PEJobInfo = record
        StructSize: Word;
        NumRecordsSelected: longint;
        NumRecordsPrinted: longint;
        DisplayPageN: Word;
        LatestPageN: Word;
        StartPageN: Word;
        PrintEnded: Bool;
    end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com