covert output to byte print