SV_TYPE_DOMAIN_BAKCTRL 0x00000010 Backup domain controller SV_TYPE_TIME_SOURCE 0x00000020 Server is available as a time source for network time synchronization SV_TYPE_AFP 0x00000040 Apple File Protocol server SV_TYPE_NOVELL 0x00000080 Novell server SV_TYPE_DOMAIN_MEMBER 0x00000100 LAN Manager 2.x domain member SV_TYPE_PRINTQ_SERVER 0x00000200 Server sharing print queue SV_TYPE_DIALIN_SERVER 0x00000400 Server running dial-in service SV_TYPE_SERVER_UNIX, SV_TYPE_XENIX_SERVER 0x00000800 Unix or Xenix server SV_TYPE_NT 0x00001000 Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows 8, or Windows Server 2012 SV_TYPE_WFW 0x00002000 Server running Windows for Workgroups SV_TYPE_SERVER_MFPN 0x00004000 Microsoft File and Print for NetWare SV_TYPE_SERVER_NT 0x00008000 Windows 2000 Server, Windows Server 2003, or a server that is not a domain controller SV_TYPE_POTENTIAL_BROWSER 0x00010000 Server that can run the browser service SV_TYPE_BACKUP_BROWSER 0x00020000 Server running a browser service as backup SV_TYPE_MASTER_BROWSER 0x00040000 Server running the master browser service SV_TYPE_DOMAIN_MASTER 0x00080000 Server running the domain master browser SV_TYPE_WINDOWS 0x00400000 Windows 95, Windows 98, or Windows Millennium Edition SV_TYPE_DFS 0x00800000 Root of a DFS tree
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 (2 bytes): A 16-bit unsigned integer that contains the of the job to modify. InfoLevel (2 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.
JobPosition Position JobStatus Status, mapped as specified in JobStatusStringLow / JobStatusStringHigh pStatus TimeSubmitted Submitted JobSize Size JobCommentStringLow / JobCommentStatusStringHigh pDocument<76> If the InfoLevel is 0x0002, the RAPOutData structure MUST be filled with a structure, packed as specified in the marshaling rules in section 2.5.11. The PrintJobInfo2 structure MUST be constructed using the response from the RpcGetJob call with the following mapping: PrintJobInfo2 JOB_INFO_2 JobId Priority Priority UserNameLow / UserNameHigh pUserName JobPosition Position JobStatus Status, mapped as specified in 3.2.5.7.1 TimeSubmitted Submitted JobSize Size CommentStringHigh / CommentStringLow pDocument<77> DocumentNameLow / DocumentNameHigh pDocument If the InfoLevel is 0x0003, the RAPOutData structure MUST be filled with a PrintJobInfo3 structure, packed as specified in the marshaling rules in section 2.5.11. The PrintJobInfo3 structure MUST be constructed using the response from the RpcGetJob call with the following mapping: PrintJobInfo3 JOB_INFO_2 JobID JobId Priority Priority UserNameLow / UserNameHigh pUserName JobPosition Position JobStatus Status, mapped as specified in 3.2.5.7.1 TimeSubmitted Submitted JobSize Size CommentStringHigh / CommentStringLow pDocument<78>
A Abstract data 86 88 12 C 12 129 Client 86 86 86 88 88 88 88 88 86 Commands 21 36 server ( 21, 89) 30 73 59 D Data - abstract 86 88 E Examples 118 116 114 F 12 G 89 8 H Higher-layer triggered events 86 89 I 120 120 120 13 9 Initialization 86 89 8 L Local events 88 113 M Message processing 88 89 Messages 16 13 21 36 16 19 18 server commands ( 21, 89) 30 14 19 13 73 73 13 59 N NetPrintJobContinue command ( 44, 104) 118 NetPrintJobDelete command ( 45, 103) NetPrintJobGetInfo command ( 42, 99) NetPrintJobPause command ( 44, 103) 40 98 NetPrintQEnum command ( 36, 93) NetPrintQGetInfo command ( 38, 97) NetRemoteTOD command ( 73, 105) 30 NetServerEnum2 command ( 22, 105) 116 NetServerEnum3 command ( 26, 110) 92 22 89 114 32 33 33 34 35 61
62 62 63 68 69 64 NetUserPasswordSet2 command ( 59, 108) 75 78 77 83 78 83 76 79 77 80 75 9 O Other local events 88 113 9 P 120 120 11 11 36 52 54 PrintQueue0 packet ( 46, 46) 52 121 86 R 26 21 22 46 46 84 29 33 44 45 45 45 42 43 44 44 40 42 36 37 38 40 73 73 22 25 26 29 21 29 29 30 31 60 61 52 56 46 49 16 18 73 9 9 9 10 S 120 120 120 Sequencing rules 88 89 Server 88 commands ( 21, 89) 89 89 113 89 113 89 113 89 30 12 14 73 13 T 73 73 Timer events 88 113 Timers 86 89 129 13 13 Triggered events - higher-layer 86