When printing or exporting, have it honor the same option about Completed tasks that you've picked for live viewing. For example, if I've set it to hide Completed tasks on the screen, then don't print or export them either. (or give that as an option at print/export time).