次の方法で共有


2.2.3.3 Job Notification Values

The Job Notification Values specify types of changes in the Data member of an RPC_V2_NOTIFY_INFO_DATA (section 2.2.1.13.4) structure.<148> Reserved members are specified by Notification Data Type Values (section 2.2.3.5), and String values are specified in JOB_INFO (section 2.2.2.6) structures. The print server passes these notification values to a print client using RpcRouterReplyPrinterEx (section 3.2.4.1.4).

Name/value

Description

JOB_NOTIFY_FIELD_PRINTER_NAME

0x0000

Specifies that the printer name for the print job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new printer name (pPrinterName in JOB_INFO structures).

JOB_NOTIFY_FIELD_MACHINE_NAME

0x0001

Specifies that the server name for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new server name (pMachineName in JOB_INFO structures).

JOB_NOTIFY_FIELD_PORT_NAME

0x0002

Specifies that the port for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains a string specifying the new port the job is printed on (pPortName in JOB_INFO structures).

JOB_NOTIFY_FIELD_USER_NAME

0x0003

Specifies that the user name for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new user name (pUserName in JOB_INFO structures).

JOB_NOTIFY_FIELD_NOTIFY_NAME

0x0004

Specifies that the notify name for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new notify name (pNotifyName in JOB_INFO structures).

JOB_NOTIFY_FIELD_DATATYPE

0x0005

Specifies that the default data type for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new default data type (pDatatype in JOB_INFO structures).

JOB_NOTIFY_FIELD_PRINT_PROCESSOR

0x0006

Specifies that the print processor associated with the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new print processor name (pPrintProcessor in JOB_INFO structures).

JOB_NOTIFY_FIELD_PARAMETERS

0x0007

Specifies that the default print processor parameters for the job have changed.

Reserved contains TABLE_STRING, and Data.String contains the new print processor parameters value (pParameters in JOB_INFO structures).

JOB_NOTIFY_FIELD_DRIVER_NAME

0x0008

Specifies that the printer driver for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new printer driver name (pDriverName in JOB_INFO structures).

JOB_NOTIFY_FIELD_DEVMODE

0x0009

Specifies that the default _DEVMODE (section 2.2.2.1) structure for the job has changed.

Reserved contains TABLE_DEVMODE, and Data.DevMode contains the new DEVMODE structure (pDevMode in JOB_INFO structures).

JOB_NOTIFY_FIELD_STATUS

0x000A

Specifies that the status for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new Status.

JOB_NOTIFY_FIELD_STATUS_STRING

0x000B

The textual representation for the job status has changed.

Reserved contains TABLE_STRING, and Data.String contains the new status string (pStatus in JOB_INFO structures).

JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR

0x000C

Security descriptor for the job has changed.

Reserved contains TABLE_SECURITYDESCRIPTOR, and Data.SecurityDescriptor contains the new security descriptor (pSecurityDescriptor in JOB_INFO structures).

JOB_NOTIFY_FIELD_DOCUMENT

0x000D

Specifies that the document name for the job has changed.

Reserved contains TABLE_STRING, and Data.String contains the new document name (pDocument in JOB_INFO structures).

JOB_NOTIFY_FIELD_PRIORITY

0x000E

Specifies that the current priority for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new Priority value.

JOB_NOTIFY_FIELD_POSITION

0x000F

Specifies that the position in the queue for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new Position value.

JOB_NOTIFY_FIELD_SUBMITTED

0x0010

Specifies that the submitted time for the job has changed.

Reserved contains TABLE_TIME, and Data.SystemTime contains the new Submitted value.

JOB_NOTIFY_FIELD_START_TIME

0x0011

Specifies that the earliest start time for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new StartTime value.

JOB_NOTIFY_FIELD_UNTIL_TIME

0x0012

Specifies that the latest print time for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new UntilTime value.

JOB_NOTIFY_FIELD_TIME

0x0013

Specifies that the total print time for the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new Time value.

JOB_NOTIFY_FIELD_TOTAL_PAGES

0x0014

Specifies that the total number of pages of the job has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new cTotalPagesPrinted value.

JOB_NOTIFY_FIELD_PAGES_PRINTED

0x0015

Specifies that the number of pages that have been printed has changed.

Reserved contains TABLE_DWORD, and Data.dwData[0] contains the new PagesPrinted value.

JOB_NOTIFY_FIELD_TOTAL_BYTES

0x0016

Specifies that the total number of bytes of the job has changed.

Reserved contains TABLE_DWORD, Data.dwData[0] contains the new Size, and Data.dwData[1] contains the new SizeHigh value.

JOB_NOTIFY_FIELD_BYTES_PRINTED

0x0017

Specifies that the total number of bytes that have been printed has changed.

Reserved contains TABLE_DWORD, Data.dwData[0] contains the 32 low-order bits of the number of bytes printed, and Data.dwData[1] contains the 32 high-order bits of the number of bytes printed.