Clicky

Loading

Report as inappropriate

Preferences/Configure Cura/Materials..click on the Print Settings Tab.
Unless you need to tweak something, the setting might be already set.
Then you just use the dropdown menu for whatever material you're using before you slice.
That setting will be saved to your G-code.
It's a good idea to rename/tag your G-code so you know...xxx-PETG.gcode or xxx-TPU.gcode.

I had to tweak my PETG settings & create a PLA+ setting for PLA+ & GITD.