all groups > vj# > december 2003 >
You're in the

vj#

group:

Printer Installs


Printer Installs Moe
12/12/2003 6:40:35 AM
vj#:
Does anyone know how to programmatically install a network
RE: Printer Installs mikegreonline NO[at]SPAM microsoft.com
12/19/2003 12:38:54 AM
Moe,

There is a Windows API called AddPrinterDriver that lets you
programmatically install a local or networked printer. There is no .Net
class or method for this API so you will have to use P/Invoke to call it
from managed code. If you have further questions on the AddPrinterDriver
API itself, please post a message in one of the
microsoft.public.platformSDK newsgroups. If you have a question about using
P/Invoke, I'd be happy to help you out.

Thanks,

Michael Green
Microsoft Developer Support
RE: Printer Installs anonymous NO[at]SPAM discussions.microsoft.com
12/19/2003 11:23:26 AM
Thanks... That was a big help

[quoted text, click to view]
AddThis Social Bookmark Button