Install windows printer driver automatically

S

Steve

Hi All

I have a Windows forms POS program and have windows xp printer drivers for
the Posiflex printers the customers use

Is it possible to automatically install a windows printer driver (and
configure it) during a VB.net 2005 deployment project i.e within a custom
action?

If so some code examples would be appreciated

Regards
Steve
 
N

Newbie Coder

Steve,

A few months ago Terry asked the same question

If you look back over this newsgroup then you'll see the answer
 
S

Steven Cheng[MSFT]

Hi Steve,

For the print driver, do you have an existing encapsulated setup package or
already got the detailed commandline execution syntax to do so? If you
have an existing package, you can programmatically launch the package in
custom action (commandline execution...). You can try posting in some
windows platform related newsgroup about detailed synatx of install printer
driver.

Here is a web article I've found introducing install printer driver
programmatically:

#Installing a Printer Driver programmatically - sort of - using PrintUi.dll
http://west-wind.com/WebLog/posts/1440.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Steve

Hi Steven

I don't have either a setup package yet or the commandline execution

Thanks for the links and info

Just what I needed

Regards
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top