Windows generally choose the printer you last used as the default printer but you can disable this functionality and set the printer of your choice as the default one so that you don't have to change it every time you go to a different location.
You can also re-enable the setting if you wish to. If you want to learn how to set a default printer in Windows 10, then take a look down below.
Step 1: Hit the Windows key on your keyboard or select the Windows icon given at the end of the screen. After that, enter the Printer in the search section.
Step 2: You will see Printers and Scanners appearing in the search results.
Step 3: Remove the tick from "Allow the Windows to manage my default printer" given at the end of the screen.
Step 4: Select the device that you wish to make your default device from the list of Printers and Scanners appearing before you. Select it and then select manage.
Step 5: Now, a new screen will open up before you. Choose set as default. Now, this device will become your default printer device.
Step 6: If you wish to enable the printer settings once again, then tick the "Allow Windows to manage my default printer" option.
This thing can be extremely useful if you are using a laptop, which changes printers every now and then.