Document Automation with a multi-function device