def _print_com(marker, offset, info):
    """String output for a COM segment."""
    _m, fill, info = info
    ss = []
    ss.append('\n{:-^63}'.format(' {} marker at offset {}, length {} '.
        format(marker, offset, info['Lc'] + 2)))
    comment = "'" + info['Cm'].decode('utf-8') + "'"
    ss.append('{}'.format(comment[:47]))
    comment = comment[47:]
    while True:
        if not comment:
            break
        line = comment[:63]
        comment = comment[63:]
        ss.append('         {}'.format(line))
    return '\n'.join(ss)
