The event handler receives an argument of type PrintJobInfoEventArgs containing data related to this event. The following PrintJobInfoEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DeviceName | Printer name. |
JobID | Job handle of the job that started the print. |
JobStatus | Combination of state flags (JOB_STATUS_-constants in WINSPOOL.H). |
LlJobID | Job ID (not the job ID of the printer but a global one created by List & Label). |
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9