#!/bin/bash

which avahi-browse > /dev/null 2>&1 && \
avahi-browse -t -d local -c -a --resolve | sed -n '/^=.*Printer/,/txt =/p'