Configuring terminal connection for "Passport Emulator - TN3270"

I had the same question and ended up using the solution below with the IBM EHLL API. I think by default the checkbox “EHLL enhanced” is checked but it needs to be unchecked.