How to set the printer properties programatically?
As a paper saving drive throughout the organization, we plan to set 2 page printing 开发者_Python百科(back to back) as default setting on all the Windows machines. Is it possible to program this in .NET / Java (or any scripting language)? Can we change printer properties by a program?
Thanks for your time.
Can be done with WMI using VBScript or Powershell.
Here is a blog post with lots of info to get started (including duplexing info): http://blogs.technet.com/print/archive/2009/10/16/printer-management-using-powershell.aspx
精彩评论