Install dependencies

Instructions can be found on archlinux wiki (cups)

Drivers for specific printers can be found here

For my printer (Canon PIXMA TS3151) I needed the cnijfilter2 package.

sudo pacman -S cups cnijfilter2

Start and enable cups service:

sudo systemctl enable cups.service sudo systemctl start cups.service

Use the lpadmin tool to add your printer through airprint everywhere. Use your specific ip address for your printer.

lpadmin -p AirPrint -E -v "ipp://192.168.0.21/ipp/print" -m everywhere