I'm getting the Print Job properties witch Win32_PrintJob
Then I use the ID value in the class SystemPrintInfoJob to ask for JobStream , but the value is always null
Why that value is always null ??
Thansk
I'm getting the Print Job properties witch Win32_PrintJob
Then I use the ID value in the class SystemPrintInfoJob to ask for JobStream , but the value is always null
Why that value is always null ??
Thansk
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jayraj ChhayaRank #304 · 8.2K reputationPosted Aug 2, 2024, 3:39 AM EDT
When dealing with the JobStream property in the SystemPrintInfoJob class, ensure that the job actually contains stream data. If the JobStream value is null, it indicates that the job does not have any stream data associated with it. Check if the print job has been properly initialized and if the stream data has been correctly set before attempting to access the JobStream property. Additionally, verify that the job has been processed and that the stream data is available for retrieval. By ensuring these steps, you can address the issue of the JobStream value being null.