def _print_dri(marker, offset, info):
    """String output for a DRI segment."""
    m_bytes, fill, info = info
    ss = []
    ss.append('\n{:-^63}'.format(' {} marker at offset {}, length {} '.
        format(marker, offset, info['Lr'] + 2)))
    ss.append('Ri={}'.format(info['Ri']))
    return '\n'.join(ss)
