Print messages to buffer