tstead
Nuclear
- Aug 10, 2000
- 109
I know how to change the active printer from within VBA, what I don't know how to do is to list all of the active printers and allow the user to select the one they want to print to.
If the printers never changed, one could hard code the exact path and name of the printer, but if printers are added or deleted, then the code would need to be changed each time which is not a good option.
Does anyone have any helpful hints of a way that I could read in the names of the active printers into an array? I can take care of the dialog boxes and everything else once I have an array of valid printers. The problem is generating that array!
Thanks,
Tim S.
If the printers never changed, one could hard code the exact path and name of the printer, but if printers are added or deleted, then the code would need to be changed each time which is not a good option.
Does anyone have any helpful hints of a way that I could read in the names of the active printers into an array? I can take care of the dialog boxes and everything else once I have an array of valid printers. The problem is generating that array!
Thanks,
Tim S.