The Wi-Fi code encodes three things: the network name, the password, and which kind of security the network uses. A phone reading it offers to join, and the person holding the phone never sees or types the password.
That is worth doing for a guest network in a cafe, a meeting room, a rented flat — anywhere the password is long, shared often, and mistyped constantly.
Pick the security type from the network itself, not from memory. WPA and WPA2 both use the WPA setting here. WEP is old and only present because some equipment still runs it. An open network takes no password at all, and the field disappears when you choose it.
The format is not an ISO standard — it is a convention that came out of the ZXing project and that every major phone now follows. That matters in one practical way: the escaping rules are easy to get wrong, and a code built without them fails in a way that looks like a broken scanner rather than a broken code. Semicolons, colons, commas, quotes and backslashes in a password are all escaped here before the code is built.
Print it at a size where the modules stay separate at arm’s length, and keep the white margin around the symbol.