import string


def get_printable(text):
    """ Return string if printable, else None
    """
    try:
        if all(c in string.printable for c in text):
            return text
    except TypeError:
        if all(chr(c) in string.printable for c in text):
            return text
    
    return None