Your Enhancements in Action: Printing Functionality in Web APIs

ArcGIS Idea: Print Operation via REST API for Javascript, Flex and Silverlight

When ArcGIS Ideas user ccabanero posted an idea in 2010 to enhance ArcGIS for Server by creating a Print Operation via REST API for Javascript, Flex and Silverlight, it quickly picked up momentum with over 6000 votes and 25 related comments accumulated.  Together with the three similar ideas that were eventually merged with it, the need to support printing functionality in the ArcGIS Web APIs was understood. In June 2012, Esri posted a comment announcing to the community that ArcGIS for Server 10.1 will have this functionality.  Even more, each Web API will contain a code sample showing how to implement high-quality web map printing.

New in ArcGIS for Server 10.1, the ArcGIS Web APIs make use of the PrintingTools service
which supports:

  • Merging multiple services together
  • Maintaining layer visibility settings
  • Layout selection with legends
  • Drawing graphics on top of the map

In addition to the new printing service, a variety of easy-to-use methods are added to each Web API designed around printing.

The image below demonstrates printing in an ArcGIS Web API application.

Additional information on the new print functionality in ArcGIS for Server 10.1 in Web APIs can be found here:

Printing in Web Applications

ArcGIS API for JavaScript: Print Dijit Using a Webmap from ArcGIS.com

ArcGIS API for Flex: High-quality printing sample

ArcGIS API for Silverlight: ExportWebMap sample

Doug C. – User Advocacy Group


This entry was posted in Announcements, ArcGIS for Server and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

2 Comments

  1. tomsriv says:

    When I print it comes up in a new IE window as designed, but anything that is selected in the first window is not selected in the print window. Am I doing something wrong?

  2. doogle says:

    Are you seeing the same behavior in other web browsers when printing? Selections sometimes take on different meanings. Are you rolling your own selection by explicitly creating a graphics layer or are you using FeatureLayer.selectFeatures?

    Please keep us posted to help troubleshoot this.