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 ;


[Back] [Next]