We have requirement for on demand publishing of office document from a document library, what are the steps to configure word automation service in SharePoint 2013 to archive the same functionality also let me know what coding is required....any sample code
would be great.