I have been looking for an answer to this question for a few weeks. It seems like it should be easy but so far no luck. I would like to be able to read the content of a network folder containing available printers in to a combo or list box.
The way our structure is set up we have hundreds of printers so to find a network printer you first have to know what server its on. It could be on one of 50 or so different servers. Generally what you do is go to Run type the server name i.e. \\priter location –typ- number (\\b-1-bw-lexmark-675) then double click on the printer you want so it adds it to your local list. What I’m trying to do is allow the user to open the network folder containing available printers and save the printer they choose to a DB. The DB will allow them to assign an associative name that means something to them. Such as “printer in b-12 near coffee machine”. I have all the coding I need except for how to read the network printer server file for the friendly names of the printers. Hope this makes sense. Also I’m just getting started in using VB6 so I may not have all the correct terminology when trying to explain my goal. Thanks for helping.
The way our structure is set up we have hundreds of printers so to find a network printer you first have to know what server its on. It could be on one of 50 or so different servers. Generally what you do is go to Run type the server name i.e. \\priter location –typ- number (\\b-1-bw-lexmark-675) then double click on the printer you want so it adds it to your local list. What I’m trying to do is allow the user to open the network folder containing available printers and save the printer they choose to a DB. The DB will allow them to assign an associative name that means something to them. Such as “printer in b-12 near coffee machine”. I have all the coding I need except for how to read the network printer server file for the friendly names of the printers. Hope this makes sense. Also I’m just getting started in using VB6 so I may not have all the correct terminology when trying to explain my goal. Thanks for helping.