Data processing and output device