Select Printer

I want to be able to print directly to 4 different printers from within my application (1 protocol printer, 3 thermal label printer) on windows and mac (currently developing on a mac) without user selection of the printer while using the application in daily operations. The printers are network printers and their individual setup is complete and ready. I only need to send the data to the printers for bulk jobs (no need to discuss pros/cons here - it is necessary for label printings in a laboratory environment).

There is a setup routine if the printers are not selected on startup. In this setup you can select a printer for each task/size I need (pageSetup Dialog) with the paperSize respectively predefined settings (so no need to do this within xojo). Afterwards I call the openPrinterDialog(ps) function and than store the setupString in a global string property (which is stored base64encoded in a pref file - but no worry at this point about this - it even doesn’t work without any savings etc.)

Afterwards you should be able to print a testpage/label to the selected printer. Unfortunately the testpage is always printed on the last selected printer regardless of loading the printerSetup in the openPrinter/openPrinterDialog function.

I’ve read the related topic at https://forum.xojo.com/5282-get-selected-printer/0/ but it didn’t give me any further clue - or do I miss something?

Is there any simple way to just get the right printer stored within a printerSetup? Or any other way?