Jump to content

PRJINFO4: Difference between revisions

From EDM2
Created page with "Information about the PRJINFO4 data structure, which stores accounting information about print jobs. ==Example Code== <PRE> typedef struct _PRJINFO4 { USHORT uJobID; ..."
 
Ak120 (talk | contribs)
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.


==Example Code==
<PRE>
<PRE>
typedef struct _PRJINFO4 {
typedef struct _PRJINFO4 {
   USHORT    uJobID;            /* Spooler job identifier. */
   USHORT    uJobID;            /* Spooler job identifier. */
   USHORT    uPriority;          /* Priority of the print job. */
   USHORT    uPriority;          /* Priority of the print job. */
   PSZ        pszUserName;        /* Name of job submitter. */
   PSZ        pszUserName;        /* Name of job submitter. */
   USHORT    uPosition;          /* Job position in the print queue. */
   USHORT    uPosition;          /* Job position in the print queue. */
   USHORT    fsStatus;          /* Job status bits. */
   USHORT    fsStatus;          /* Job status bits. */
   ULONG      ulSubmitted;        /* Date and time of job submission. */
   ULONG      ulSubmitted;        /* Date and time of job submission. */
   ULONG      ulSize;            /* Size of the spooled job. */
   ULONG      ulSize;            /* Size of the spooled job. */
   PSZ        pszComment;        /* Job comment string. */
   PSZ        pszComment;        /* Job comment string. */
   PSZ        pszDocument;        /* Job document name. */
   PSZ        pszDocument;        /* Job document name. */
   PSZ        pszSpoolFileName;  /* Path to spool file if it is not in the standard spool directory. */
   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        pszPortName;        /* Port on which this job is printing. */
   PSZ        pszStatus;          /* Job status string. */
   PSZ        pszStatus;          /* Job status string. */
   ULONG      ulPagesSpooled;    /* Total pages spooled so far. */
   ULONG      ulPagesSpooled;    /* Total pages spooled so far. */
   ULONG      ulPagesSent;        /* Total pages sent to the printer for this job. */
   ULONG      ulPagesSent;        /* Total pages sent to the printer for this job. */
   ULONG      ulPagesPrinted;    /* Total pages stacked for this job. */
   ULONG      ulPagesPrinted;    /* Total pages stacked for this job. */
   ULONG      ulTimePrinted;      /* Processing time used in printer. */
   ULONG      ulTimePrinted;      /* Processing time used in printer. */
   ULONG      ulExtendJobStatus;  /* Extended job status flags. */
   ULONG      ulExtendJobStatus;  /* Extended job status flags. */
   ULONG      ulStartPage;        /* First page to begin printing. */
   ULONG      ulStartPage;        /* First page to begin printing. */
   ULONG      ulEndPage;          /* Last page to print for this job. */
   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 22: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;