Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Installing a printer driver programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00984245
Message ID:
00984268
Views:
29
Thanks Sergey,

Looks promising but I'm not sure if you'd be able to redistribute that DLL...

There's also a command line interface available which I wrote up:
http://west-wind.com/weblog/posts/1440.aspx

I linked a reference to the prnadmin.dll as well.

+++ Rick ---


>Rick,
>
>Would this help HOW TO: Programmatically Create a Printer and Printer Port by Using PrinterAdmin (Prnadmin.dll) with a Visual Basic Script in Microsoft Windows 2000 mskb #321025 ?
>
>
>
>
>>Does anybody know how to install a printer driver programmatically?
>>
>>I have an application that needs to auto-install and includes some PDF printing features that run through the a PostScript driver, so I want to install the PostScript driver automatically.
>>
>>Is there any way to do this? The printer driver would be one of the included Windows printer drivers so it should always be there without requireing a disk for installation.
>>
>>+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform