2.3.1 Interaction Summary

The Print System Remote Protocol SHOULD<228> initiate interactions with Active Directory in the following way:

  • The print client calls RpcSetPrinter with a PRINTER_CONTAINER structure that is initialized to contain a Level value of 0x00000007 and a pointer to a PRINTER_INFO_7 structure, which specifies the publishing action for the server to take for a print queue. The possible actions are publishing data about a print queue to the Active Directory, modifying the directory data for a print queue already published in the Active Directory, and removing the data for a print queue from the Active Directory.

  • The print client calls RpcSetPrinter with a PRINTER_HANDLE that is a handle to a print queue that the print server has published to the Active Directory, and as a result of the print client request, the print server either changes the printer driver associated with the print queue or modifies print queue configuration settings that the print server has published in the Active Directory.

  • The print client calls RpcDeletePrinter with a PRINTER_HANDLE that is a handle to a print queue that the print server has published to the Active Directory.

Print servers use LDAP [RFC2251] to access data in Active Directory. The implementation of LDAP by Active Directory is specified in [MS-ADTS] section 3.1.1.4.