tommeekers
Programmer
I created a small VB script which runs at startup, and gets all available printers from the network. Next it deletes all current printers from my user's computer and reinstalls the up-to-date list. However, I need to find out which printer was set as the default, so that I could reset it after the script has been run.
I figured out a way to read the default printername from the registry, however I cannot read the drivername and printerport, which I both need to set the default printer registry key.
I someone could provide me with a solution, as simple as possible, I would be very gratefull.
I figured out a way to read the default printername from the registry, however I cannot read the drivername and printerport, which I both need to set the default printer registry key.
I someone could provide me with a solution, as simple as possible, I would be very gratefull.