I am still stuck on this one. Any ideas?

Default printer group D01_q-mis2-color
Actual printer set as default on pc q-mis2-color (to test if script detects and sets to q-mis2)

When I return the value of Primapstate, it returns a value of 2. Even though the default printer is not set correctly.

I have q-mis2-color set as the default, yet my group membership sets q-mis2 as the default printer.

If I change the default printer in control panel, printers, to q-mis1, the group membership correctly sets q-mis2 as the default printer.

What's up with q-mis2-color?