开发者

How to set the printer properties programatically?

开发者 https://www.devze.com 2022-12-30 21:47 出处:网络
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 .N

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

0

精彩评论

暂无评论...
验证码 换一张
取 消