Print the current document.