By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,018 Members | 870 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,018 IT Pros & Developers. It's quick & easy.

Install windows printer driver automatically

P: n/a
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
Apr 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Steve,

A few months ago Terry asked the same question

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

--
Newbie Coder
(It's just a name)

"Steve" <ga*****@newsgroups.nospamwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
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


Apr 15 '07 #2

P: n/a
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/subscripti...ult.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/subscripti...t/default.aspx.

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

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



Apr 16 '07 #3

P: n/a
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

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:0o****************@TK2MSFTNGHUB02.phx.gbl...
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/subscripti...ult.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/subscripti...t/default.aspx.

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

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



Apr 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.