How to read list of local and network printers
-
we are developing an application which accesses local and network printers. How to read list of available printers in a machine and how classify them as local and network printers.
-
-
Thanks for the update. I got the list of printers using http://www.cpearson.com/excel/GetPrinters.aspx[^] But i need to find network and local printers and classify them different groups. How to find local and network printers from the list?
KASR1 wrote:
But i need to find network and local printers and classify them different groups. How to find local and network printers from the list?
You can only get a list of apparatus that are "known" by the local installation. Some TCP/IP thingy will not be recognized, until the drivers are installed.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]
-
KASR1 wrote:
But i need to find network and local printers and classify them different groups. How to find local and network printers from the list?
You can only get a list of apparatus that are "known" by the local installation. Some TCP/IP thingy will not be recognized, until the drivers are installed.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]
-
Ok lets assume that i am getting five printers as follows 1. ABC 2. XYZ 3. TestPrinter1 4. TestPrinter2 5. TestPrinter3 In the above list some of them are network printers and how do i find newtwork printers programatically in VBA?
http://support.microsoft.com/kb/q166008[^]
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]
-
http://support.microsoft.com/kb/q166008[^]
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]