Vistra Printer Setup Via Code

Hello,

We have a variety of IP based printers that we need to be able to setup automatically, ideally via a program written in C# or VB.NET.

For example, to manually setup one of our printers:
-Add Printer Wizard
-Create New IP Printing Port
-Select Driver

We need to be able to do this with a program, ideally one that can work in either XP or Vista.  I've found several articles on possible implementations using vbs, but these functions do not seem to work in Vista.  

Any resources or suggestions?  In the worst case, we could write seperate apps for Vista and XP.

Thanks
compsol1993Asked:
Who is Participating?
 
wyliecoyoteukConnect With a Mentor Commented:
It is more easily done via group policies,
http://www.windowsnetworking.com/articles_tutorials/Deploying-Printers-Group-Policy-Windows-R2.html

But you can do it with a logon script
http://www.computerperformance.co.uk/Logon/LogonScript_Printer.htm

Unfortunately, Vista UAC will stop that cold, so you need to disable it for drivers in GP.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.