WMI to change printer options

G

Gordon

I am using this bit of script to rename a printer after install (you just
CAN"T have a printer named 'cutePDF' in a professional environment) and it
works fine.
Set objWMIService =
GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set objWMIPrinter = objWMIService.get("Win32_Printer='cutePDF Writer'")
objWMIPrinter.RenamePrinter ("PDF Writer")
Now what I want to do is also change the resolution (print quality) to
300dpi, change fonts to download softfonts instead of substituting device
fonts, and change the PostScript Output Option to Optimize for Portability.
Obviously a pain to do this manually on every machine.

So, how do I go about doing this? Is there a way to browse the available WMI
controllable options?

Thanks,
Gordon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top