Flush print messages.