Programmatic Printer Driver Installation re-visited for Vista
Posted by: Rick Strahls WebLog,
on 04 May 2007 |
View original | Bookmarked: 0 time(s)
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....