Printing map of route task

Discussion created by heathmanderson on Jun 6, 2014
Latest reply on Jun 11, 2014 by Muditagarwal100
I am trying to print a map of a route task with the total time and distance appended the PDF printout.  Using the Dijit Print module, the map will print with the route graphic but not the time or distance.  Directions would be okay as well, but not a necessity.  I have not been able to find anything online from the samples or API reference pages.  I have also looked into creating a custom map print layout, hoping to somehow dynamically attach the time and distance to the layout.  Does anyone have a way of accomplishing this or have any suggestions?