I am wondering if in the JavaScript API, I can give users the ability to specify the scale before creating a printout with ArcGIS Server printing tools. With the print widget in the Flex Viewer, the "Use this scale" option seems to be built in as you can see in the attached photo.

Has anyone been able to implement this option in the JS API?
Thanks!