Compartilhar via


3.2.4.2.5 Announcing Shared Printers to Print Servers

To announce its shared printers to print servers, the print client performs these steps:

  1. Make a policy-specific determination whether shared printers are enumerated to print servers.<418>

  2. If shared printers are enumerated, for each printer installed on the client that has the PRINTER_ATTRIBUTE_SHARED set, create a PRINTER_CONTAINER with Level set to 0x00000001, and populate it with a PRINTER_INFO_1 describing the printer, and then call the print server's RpcAddPrinter or RpcAddPrinterEx method.<419>