2.5.7.8.7 PrintJobInfo2 Data Structure
The PrintJobInfo2 packet is used by the NetPrintJobGetInfo Command.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JobID |
Priority |
||||||||||||||||||||||||||||||
UserNameLow |
UserNameHigh |
||||||||||||||||||||||||||||||
JobPosition |
JobStatus |
||||||||||||||||||||||||||||||
TimeSubmitted |
|||||||||||||||||||||||||||||||
JobSize |
|||||||||||||||||||||||||||||||
CommentStringLow |
CommentStringHigh |
||||||||||||||||||||||||||||||
DocumentNameLow |
DocumentNameHigh |
JobID (2 bytes): A 16-bit unsigned integer that represents the job ID of the print job.
Priority (2 bytes): A 16-bit unsigned integer that represents the priority of the print job. If the value is 0x0000, the priority of the print queue determines the job priority. Other valid values are between 0x0001 and 0x0063, inclusive. When two printer queues print to the same printer, the print jobs from the queue with the higher priority print first.
UserNameLow (2 bytes): A 16-bit unsigned integer that represents the offset, in bytes, from the start of the response to a null-terminated ASCII string that is allocated in the response block (as specified in section 2.5.11) and that specifies the user name that submitted this print job.
-
Before using this value, the Remote Administration Protocol client MUST subtract the Converter field, as specified in section 2.5.2, from the UserNameLow value and then use that result as the offset within the response.
UserNameHigh (2 bytes): Unused. Can be set to any arbitrary value when sent, and MUST be ignored on receipt.
JobPosition (2 bytes): A 16-bit unsigned integer that specifies the position of this job in the queue. A value of 0x0001 indicates that this job is the next job to print.
JobStatus (2 bytes): An enumeration that specifies the status of this job in the print queue. Its value MUST be as specified in section 2.5.7.8.6.
TimeSubmitted (4 bytes): A 32-bit unsigned integer that specifies the time that the print job was submitted (in seconds since midnight January 1, 1970) in the local time zone of the server.
JobSize (4 bytes): A 32-bit unsigned integer that specifies the size, in bytes, of the print job.
CommentStringLow (2 bytes): A 16-bit unsigned integer that represents the offset, in bytes, from the start of the response to a null-terminated ASCII string that is allocated in the response block (as specified in section 2.5.11) and that specifies a string that describes the print job.
-
Before using this value, the Remote Administration Protocol client MUST subtract the Converter field, as specified in section 2.5.2, from the CommentStringLow value and then use that result as the offset within the response.
CommentStringHigh (2 bytes): Unused. Can be set to any arbitrary value when sent, and MUST be ignored on receipt.
DocumentNameLow (2 bytes): A 16-bit unsigned integer that represents the offset, in bytes, from the start of the response to a null-terminated ASCII string that is allocated in the response block (as specified in section 2.5.11) and that specifies the name of the document.
-
Before using this value, the Remote Administration Protocol client MUST subtract the Converter field, as specified in section 2.5.2, from the DocumentNameLow value and then use that result as the offset within the response.
DocumentNameHigh (2 bytes): Unused. Can be set to any arbitrary value when sent, and MUST be ignored on receipt.