Answered by:
scripting printer setup

Question
-
Using vbscript (preferred) I need to script the creation of printers. My issue is I cannot find a WMI, DLL, etc. to allow changes to the "Device Settings" of the printer. Device Settings means: Control Panel -> Printers -> Properties (of a printer) Device Settings Tab. Settings like: Duplex Installed, Total memory installed, Tray 3 paper type etc.) This is different than "Printer Propertes" or "Advanced properties" where you define to "use" a duplexer.
You cannot use a duplexer until the printer knows it has one installed. I need to set the paramters so the driver knows one is installed.
I would do this manually via the method listed above. How do I access these parameters programatically.
So, my question is: What forum to use to post such a question?
Thanks,
Mike.
Wednesday, April 21, 2010 8:50 PM
Answers
-
The scripting forum is at http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
- Marked as answer by ISA TJC Tuesday, August 31, 2010 7:40 PM
Wednesday, April 21, 2010 8:55 PM -
Check the WMI newsgroups. I don't know what your script host is, but most likely you need a COM wrapper to use any DLL.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked as answer by Ed Price - MSFTMicrosoft employee Sunday, April 14, 2013 4:23 AM
Thursday, April 22, 2010 8:37 PM -
Current places to ask...
General WMI... http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
If C++... http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads
If PowerShell... http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
If C#... http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!- Marked as answer by Ed Price - MSFTMicrosoft employee Sunday, April 14, 2013 4:23 AM
Sunday, April 14, 2013 4:23 AM
All replies
-
The scripting forum is at http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
- Marked as answer by ISA TJC Tuesday, August 31, 2010 7:40 PM
Wednesday, April 21, 2010 8:55 PM -
Scripting alone can't solve the problem, you probably need someone to write a scriptable software that supports modifying printer settings programmatically, or switch to another language and write one by yourself.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Proposed as answer by Ed Price - MSFTMicrosoft employee Sunday, April 14, 2013 4:23 AM
Wednesday, April 21, 2010 11:31 PM -
Let me try this another way. What forum is best to ask a question regarding available WMI classes or DLLs to allow access to the "Device Settings" parameters of a Printer? I assume since it is part of the Windows Printer Properties Control Panel, there must be a method to access the paramters.
Sick Freak, I did post a question to the scripting forum. Not much luck yet.
Sheng Jiang, I agree with you, generally speaking. I have no issue with other languages. I just need to know of a forum that deals with knowledge in WMI classes and/or DLLs and/or something else that can access printer device setting information.
Thanks,
mike
Thursday, April 22, 2010 7:40 PM -
Check the WMI newsgroups. I don't know what your script host is, but most likely you need a COM wrapper to use any DLL.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked as answer by Ed Price - MSFTMicrosoft employee Sunday, April 14, 2013 4:23 AM
Thursday, April 22, 2010 8:37 PM -
Current places to ask...
General WMI... http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
If C++... http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads
If PowerShell... http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads
If C#... http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!- Marked as answer by Ed Price - MSFTMicrosoft employee Sunday, April 14, 2013 4:23 AM
Sunday, April 14, 2013 4:23 AM