3

I've tried searching for this for a while now, but I can't find any MS documentation which details what the maximum and minimum valid print job IDs are for windows.

Does anyone know of documentation anywhere that might provide this information?

The reason why I'm asking is because I need to know if 0 is a valid print job ID. I'm assuming not, but I don't really have much to base that on!

Dave
  • 25,513
Andy
  • 151

2 Answers2

0

According to the documentation for the Win32_PrintJob class, the JobId property is a uint32, so its value may range from 0 to 4,294,967,295 (232-1). Additional restrictions may apply, though.

0

Answered in the comments by OP

It (see source below) says under Job ID that 0 indicates a print job that hasn't been assigned an ID as yet. So it does exists, but it hasn't been assigned an ID (An ID being 1 or over).

Source

Andy
  • 151
Dave
  • 25,513