Printer Install

  • Thread starter Thread starter Jm
  • Start date Start date
J

Jm

Hi all

Is there an easy way to install a network printer by code in Vb.Net (Meaning
connecting to a printer from a server for eg \\MyServer\MyPrinter, so no
drivers are required or anything like that). In vb6 i used Wsh to install
it, should i continue using the same method or does .NET have a better way
of doing it ?

Thanks
 
Untested....

Shell("rundll32 printui.dll,PrintUIEntry /y /if /b ""HP LaserJet 4000""
/f
D:\Install\Drivers\HP4000\WinXP\hp222ip6.inf /r ""\\SSMD\" & pq &
".Printers.Amsterdam.NL.SSMD"" /m ""HP LaserJet 4000 Series PCL 6""")
 

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

Back
Top