How to set printer ACLs in .net?
How do you set a printers ACLs开发者_如何学Go in .net?
You can use unmanaged function SetPrinter with level 3 (PRINTER_INFO_3).
You could use SetACL (free), which is available in two versions: command line (EXE) and COM object (OCX). I'd recommend the latter for calls from another program.
精彩评论