Specifying default printer

I suspect I have read enough of the discussion here about saving the default printer to know this can’t be done, but…

I have used MBS NSPrinterMBS.printerNames and have a list of the available printers.

Is there anyway to take a printer name from the list and make it the default printer?

please see how to do this here :
or here:

Don’t change default printer.
Switch printer for a print job.

You can use NSPrintInfoMBS class on MacOS and WindowsDeviceModeMBS for Windows to edit PrinterSetup’s SetupString.
This should include the printer name for the next print job.