Programmatic Printer Driver Installation re-visited for Vista

Posted by: Rick Strahls WebLog, on 04 May 2007 | View original

A long while back I posted an entry regarding how to install a printer driver programmatically by shelling out and using rundll32.exe to execute the PrintUi.dll which can handle a variety of print tasks including installing a printer driver. This code's been working fine, but it's been giving me some problems under Vista for a couple of reasons. The firsts issue is that I use the driver to install a PostScript driver so I can print a PostScript file to disk which later can be converted by GhostScript....

Advertisement
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • Module uninstalls and security best practices more
  • TDD Lessson 4 - I mock you! more
  • Streaming XML filtering in Java and .NET more
  • Tip/Trick: Show Detailed ASP.NET Error Messages to Developers (and only to Developers) more
  • ASP.NET: What is the function of FindControl method? more
  • The Using Statement And Disposable Value Types more
  • Extending the TreeView in IIS 7 in Windows Vista more
  • Coding4Fun V2 Plans - Your Feedback Wanted more
  • Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack more
  • RTM time for Community Server 2.1 more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD