Jump to content

PRTJOBS

From EDM2
Revision as of 18:46, 8 February 2020 by Martini (talk | contribs) (Created page with "Information about jobs in the printer returned by the BIDI_Q_JOBS_COMPLETE and BIDI_Q_JOBS_QUEUED commands. ==Example Code== <PRE> typedef struct _PRTJOBS { BYTE int...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Information about jobs in the printer returned by the BIDI_Q_JOBS_COMPLETE and BIDI_Q_JOBS_QUEUED commands.

Example Code

typedef struct _PRTJOBS {
  BYTE       interpreterID;   /*  Interpreter identifier that returns this job's information. */
  BYTE       bReserved;       /*  Reserved; must be 0 (zero). */
  USHORT     fsStatus;        /*  Status of this job. */
  ULONG      ulPrinterJobID;  /*  Interpreter job identifier. */
  ULONG      ulProcessTime;   /*  Number of seconds it took to process the job. */
  ULONG      ulSheets;        /*  Total pieces of print media used. */
  ULONG      ulImpressions;   /*  Total sides printed. */
} PRTJOBS;

typedef PRTJOBS *PPRTJOBS;