When the wireless router is connected to the same network as the printer, you can operate the printer via the wireless router from your smart device.
See the following for more details.
Making Settings for Connecting to the Smart Device