473,320 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Install windows printer driver automatically

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
3 10103
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: IC_Clearly | last post by:
I'm running Server 2003 and wonder how well WTS works when printing an Access report to a client. Any suggestions would be appreciated. Thanks. IC
0
by: Sneid | last post by:
Hi I explain my title: i'm actually developping an application for privilege-limited users. They all have a laptop, and are not local administrators of the machine I 'm developping a program...
0
by: david | last post by:
I am working on windows2000 server and developing ASP.NET application. Now I have the problem about installation of software and driver. Those worked before whenever I used the installer by click,...
3
by: Bob | last post by:
I need to create a program that is essentially a special fax sender using multi line Dialogic cards. I figure that the best way to do this so that it can be used from any app is to create someting...
0
by: jay | last post by:
Dear friends, I have a new task to do that I know nothing about. I am to design a printer driver (I think). The requirements of the project are: 1. design a printer driver - the printer...
0
by: nevlek | last post by:
My boss one day ask if I can create a web site in intranet to let user install printer as well as set it as default themselves without IT's help. I have done some research and brain storming with...
2
by: Terry Olsen | last post by:
Can anyone give me some guidance on installing a local printer with VB 2005? I'm guessing I would probably do this with WMI, but i'm not finding anything obvious. I see how to add a networked...
9
by: =?Utf-8?B?Sm9obiBBdXN0aW4=?= | last post by:
I have an app that prints entry tickets. If the printer driver is not set up exactly to detect the black mark on the back of the ticket, the tickets do not print correctly. Because of this, all...
0
by: =?Utf-8?B?RGVs?= | last post by:
Hello I need help I have a 1998 hp and have installed windows xp I can't seem to install a printer driver to make my computer communicate with my old hp 722c printer..I've installed the ones from...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.