Producing hardcopies of documents from a document management system