Controller for tape punch output of data 1-dimensionally or 2-dimensionally scanned from data soruces