Hi Friedrich,
I had to move my code for checking and resetting

Set Feature State(Disable: "CLS PDF Printer") [Global Reset]

to BELOW the Set Active Setup Type command, but that get it working for me. I'm guessing that due to the stuff you changed, Set Active Setup Type now resets everything to it's initial default state - which does make sense.

It's no problem as long as I make sure to make change any Feature State after the Active Setup Type has been be changed. Can I make the suggestion to add a note to the docs that calls to Set Feature State must come after Set Active Setup Type.

Thanks for reacting to this so quickly for me!
Lisa