PRJINFO4: Difference between revisions
Appearance
Created page with "Information about the PRJINFO4 data structure, which stores accounting information about print jobs. ==Example Code== <PRE> typedef struct _PRJINFO4 { USHORT uJobID; ..." |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Information about the PRJINFO4 data structure, which stores accounting information about print jobs. | Information about the PRJINFO4 data structure, which stores accounting information about print jobs. | ||
<PRE> | <PRE> | ||
typedef struct _PRJINFO4 { | typedef struct _PRJINFO4 { | ||
USHORT uJobID; /* | USHORT uJobID; /* Spooler job identifier. */ | ||
USHORT uPriority; /* | USHORT uPriority; /* Priority of the print job. */ | ||
PSZ pszUserName; /* | PSZ pszUserName; /* Name of job submitter. */ | ||
USHORT uPosition; /* | USHORT uPosition; /* Job position in the print queue. */ | ||
USHORT fsStatus; /* | USHORT fsStatus; /* Job status bits. */ | ||
ULONG ulSubmitted; /* | ULONG ulSubmitted; /* Date and time of job submission. */ | ||
ULONG ulSize; /* | ULONG ulSize; /* Size of the spooled job. */ | ||
PSZ pszComment; /* | PSZ pszComment; /* Job comment string. */ | ||
PSZ pszDocument; /* | PSZ pszDocument; /* Job document name. */ | ||
PSZ pszSpoolFileName; /* | PSZ pszSpoolFileName; /* Path to spool file if it is not in the standard spool directory. */ | ||
PSZ pszPortName; /* | PSZ pszPortName; /* Port on which this job is printing. */ | ||
PSZ pszStatus; /* | PSZ pszStatus; /* Job status string. */ | ||
ULONG ulPagesSpooled; /* | ULONG ulPagesSpooled; /* Total pages spooled so far. */ | ||
ULONG ulPagesSent; /* | ULONG ulPagesSent; /* Total pages sent to the printer for this job. */ | ||
ULONG ulPagesPrinted; /* | ULONG ulPagesPrinted; /* Total pages stacked for this job. */ | ||
ULONG ulTimePrinted; /* | ULONG ulTimePrinted; /* Processing time used in printer. */ | ||
ULONG ulExtendJobStatus; /* | ULONG ulExtendJobStatus; /* Extended job status flags. */ | ||
ULONG ulStartPage; /* | ULONG ulStartPage; /* First page to begin printing. */ | ||
ULONG ulEndPage; /* | ULONG ulEndPage; /* Last page to print for this job. */ | ||
} PRJINFO4; | } PRJINFO4; | ||
typedef PRJINFO4 *PPRJINFO4; | typedef PRJINFO4 *PPRJINFO4; | ||
</PRE> | </PRE> | ||
[[Category:Data type]] | [[Category:PM Data type]] | ||
Latest revision as of 21:35, 7 June 2020
Information about the PRJINFO4 data structure, which stores accounting information about print jobs.
typedef struct _PRJINFO4 {
USHORT uJobID; /* Spooler job identifier. */
USHORT uPriority; /* Priority of the print job. */
PSZ pszUserName; /* Name of job submitter. */
USHORT uPosition; /* Job position in the print queue. */
USHORT fsStatus; /* Job status bits. */
ULONG ulSubmitted; /* Date and time of job submission. */
ULONG ulSize; /* Size of the spooled job. */
PSZ pszComment; /* Job comment string. */
PSZ pszDocument; /* Job document name. */
PSZ pszSpoolFileName; /* Path to spool file if it is not in the standard spool directory. */
PSZ pszPortName; /* Port on which this job is printing. */
PSZ pszStatus; /* Job status string. */
ULONG ulPagesSpooled; /* Total pages spooled so far. */
ULONG ulPagesSent; /* Total pages sent to the printer for this job. */
ULONG ulPagesPrinted; /* Total pages stacked for this job. */
ULONG ulTimePrinted; /* Processing time used in printer. */
ULONG ulExtendJobStatus; /* Extended job status flags. */
ULONG ulStartPage; /* First page to begin printing. */
ULONG ulEndPage; /* Last page to print for this job. */
} PRJINFO4;
typedef PRJINFO4 *PPRJINFO4;