2.5.7.3.1 RAP NetPrintJobSetInfoRequest

The fields in the NetPrintJobSetInfoRequest message MUST be set as follows.<27>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RAPOpcode

ParamDesc

...

DataDesc (18 bytes)

...

...

...

RAPParams (variable)

...

RAPOpcode (2 bytes): MUST be set to 0x0093. For more information see section 2.5.1.

ParamDesc (6 bytes): MUST be set to "WWsTP". For more information see section 2.5.1.

DataDesc (18 bytes): MUST be set to "WB21BB16B10zWWzDDz". For more information see section 2.5.1.

RAPParams (variable): The RAPParams structure MUST be as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

JobID

InfoLevel

BufferSize

ParamNum

JobID (2 bytes): A 16-bit unsigned integer that contains the job ID of the job to modify.

InfoLevel (2 bytes): A 16-bit unsigned integer that specifies the information level for the NetPrintJobSetInfoRequest. This MUST be set to 0x0001 or 0x0003.<28>

BufferSize (2 bytes): A 16-bit unsigned integer that represents the size of the RAPInData structure.

ParamNum (2 bytes): A 16-bit unsigned integer from the following table that specifies what aspect of the print job is being modified.

Value

Meaning

JobNum

0x0001

A 16-bit integer.

UserName

0x0002

A null-terminated ASCII string.

NotifyName

0x0003

A null-terminated ASCII string.

DataType

0x0004

A null-terminated ASCII string.

ParametersString

0x0005

A null-terminated ASCII string.

JobPosition

0x0006

A 16-bit integer.

JobStatus

0x0007

A 16-bit integer.

JobStatusStr

0x0008

A null-terminated ASCII string.

TimeSubmitted

0x0009

A 32-bit integer.

JobSize

0x000A

A 32-bit integer.

JobComment

0x000B

A null-terminated ASCII string.

RAPInData

Note that the Data field of the SMB_COM_TRANSACTION request, RAPInData, is a variable-length field that MUST be present and set according to section 2.5.1.

This field MUST be based on the ParamNum value in the incoming application request.

For example, if the incoming application request sets the ParamNum value to 0x000B, the RAPInData field MUST be set to a null-terminated ASCII string that represents the new value for the JobComment field in the print job specified by the incoming job ID parameter.