Type
of alert to enable for the given category.
If the category is PRTALERT_CATEGORY_CORE, this is a bit-field that defines
the additional core alerts to enable. The core alerts corresponding to the
bits set in the ulType field will be enabled, in addition to any
currently enabled core alerts. If the protocol converter does not understand
one of the bits that are set, ERROR_INVALID_FLAG_NUMBER(186) should be returned.
If the printer is not capable of setting one of the core alerts whose bit
is set, and if any core alerts can be enabled, a Success return code should
be returned.
If the category is not PRTALERT_CATEGORY_CORE, then this is a value
that defines the specific extended alert to enable.
Bit defintions for core alerts are as follows:
Bit
0
PRTALERT_CORE_INPUT
- 0x00000001
Input alert (Example: out of paper).
1
PRTALERT_CORE_OUTPUT
- 0x00000002
Output alert (Example: output bin is full).
2
PRTALERT_CORE_JAM
- 0x00000004
Paper jam alert.
3
PRTALERT_CORE_OPERATOR
- 0x00000008
Operator intervention required (Example: print ribbon jam).
4
PRTALERT_CORE_CONFIG_CHANGE - 0x00000010
Configuration changed (Example: cartridge removed).
5
PRTALERT_CORE_SUPPLIES - 0x00000020
Supplies alert (Example: out of toner).
6
PRTALERT_CORE_JOB_START
- 0x00000040
Job started printing.
7
PRTALERT_CORE_JOB_STACKED
- 0x00000080
Job completed and stacked.
8
PRTALERT_CORE_PAGE_PRINTED
- 0x00000100
Page printed.
9
PRTALERT_CORE_JOB_CANCELLED
- 0x00000200
Job cancelled inside printer.
10
PRTALERT_CORE_JOB_HELD
- 0x00000400
Job held inside printer.
11
PRTALERT_CORE_COVER_OPEN
- 0x00000800
Cover or panel open.
12
PRTALERT_CORE_POWER_ON
- 0x00001000
Printer powered on.
13
PRTALERT_CORE_RESET
- 0x00002000
Printer reset.
14
PRTALERT_CORE_ONLINE
- 0x00004000
Printer now online.
15
PRTALERT_CORE_OFFLINE
- 0x00008000
Printer now offline.
16
PRTALERT_CORE_TIMED_ALERT
- 0x00010000
Timed alert.
17
PRTALERT_CORE_COMMUNICATION_PROBLEM
- 0x00020000
Communication problem.
18
PRTALERT_CORE_COMM_STATUS_CHANGED
- 0x00040000
Communication status changed.
[Back: SplRegister Parameter - ulCategory]
[Next: SplRegister Parameter - pulHandle]