Solved

Vistra Printer Setup Via Code

Posted on 2009-04-06
1
231 Views
Last Modified: 2013-11-10
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
0
Comment
Question by:compsol1993
1 Comment
 
LVL 21

Accepted Solution

by:
wyliecoyoteuk earned 500 total points
ID: 24128562
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

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question