Display: Cloud | List
Most Popular Tags
Results (1 total) All > .net (x) > install (x)
How to add a local printer? (AddPrinterConnection method of the Win32_Printer class (Windows))
After a LOT OF search i found a .NET solution.The following example adds a printer to your system. Dim strPrinterName as String = "Isidoros Printer"Dim strComputer AsString = My.Computer.Name Dim objWMIService, objPrinter AsObjectobjWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") objPrinter = objWMIService.Get("Win32_Printe
Last modified by Isidoros on 11/7/2009 9:18:00 AM
Page view tracker