Export to PDF using ArcGIS JavaScript API

Lately, I have using the ArcGIS JavaScript API to develop internal web mapping applications. The applications are useful when they are in the browser, but the engineers generally had no way to print the map.

A question I often hear is, “Can you export this to PDF?”

After some research, I came across an example that allows the user to export the current map extent as a PDF.

Incorporating this feature into your web map will allow users to create custom maps from the web, and share it via email or print. Click here for more details.