Connection to printer using settings, connections, more connection settings, near by scan and printing.. check both are on and your selected printer is available there and selected as your default
Make sure that turn on the wifi and that the phone and printer are connected to the same wifi. Hit the share button and select print. Once that print window opens, select search for printer. It should find your printer and allow you to print from your phone.