The days when your Mac had be physically connected to your printer to be able to print anything are long gone, and it’s all thanks to the growth of Wi-Fi and Apple’s AirPrint technology.
To take advantage of this, you’ll need to ensure that your printer is AirPrint-compatible – see apple.co/1Y5BXwu – then connect the printer to your Wi-Fi network.
Switch on the printer and you should see it appear in System Preferences > Printers & Scanners if you’re running OS X El Capitan. It should also appear as an option whenever you tap the Share icon in the majority of iOS apps and choose Print from the bottom row of the Share sheet.
While AirPrint is wonderful, it can’t perform miracles: you will still need to physically replenish your printer’s paper and ink when it runs out!
You may want to download and install additional printing and scanning software that’s often provided by hardware manufacturers, which may offer additional functionality that’s not provided by AirPrint. However, printing using the means provided by Apple’s tech should be fine for the majority of cases.