def make_printable(text):
    """
    Strips out all non-printable characters from the text, including:

    - 0x00 - 0x20, excluding CR, LF and tab
    - 0x7F
    """
    buffer = []
    for ch in text:
        if ch in '\r\n':
            buffer.append(ch)
        else:
            ord_ch = ord(ch)
            if ord_ch != 0x7F and ord_ch >= 0x20:
                buffer.append(ch)

    return ''.join(buffer)