You can print on a Mac computer either wirelessly or with a USB cable. Here's how to set up a wired or wireless printer on your Mac and print files.
To print contacts from an iPhone, you'll want to sync your contacts with iCloud, and then access them through a computer.