View by status   

Print Operation via the REST API for Javascript, Flex, and Silverlight

Implemented

  • 6510
    Points

  •  Create a Print Task that is callable via the REST API - the response of the REST call is an image that merges all layers, graphics, etc. on my map control.  Because it is via the REST API, I can call this same method in a generic way if my web app uses either the JavaScript API, Flex API, or Silverlight API.  
    Tags :
     
    Posted by   ccabanero  to ArcGIS ServerWeb Apps and APIs Mar 31, 2010

Share this idea Report Abuse

Comments (25)


Please log in to post a comment.






Esri_AGSIdeas 
Jun 15, 2012
Thanks all.  We've added this functionality to ArcGIS for Server and each Web API (JavaScript, Flex and Silverlight) contains a code sample, showing how to implement high quality web map printing.  To set up your print service below are links for further reading.

Printing in Web Applications
http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w5000000

Using Your Own Layouts for Printing
http://resources.arcgis.com/en/help/main/10.1/index.html#/Using_your_own_layouts_for_printing/01540000057v000000/
 


 
MadsGren 
Apr 16, 2012
The PrintingTool in ArcGIS 10.1 is great, some things it might be missing is
  • the ability to exclude specific layers from the legend
  • a bounding box on the screen showing the papersize for the print that you can move
And yes i know it's the things that TomLUX has in his solution, witch is also great, but is a bit complex for common people to setup.

Mads Gren, Lemvig, Denmark.


 
Law 
Apr 4, 2012
FYI: ArcGIS for Server 10.1 will include an OOTB PrintingTools GP Service that can be used by the Web Mapping APIs for JavaScript, Flex, and Silverlght.

Printing in web applications - help topic


ArcGIS for Server 10.1: PrintingTools Service Tutorial





 
sallyedwards 
Jan 11, 2012

Please can this be a priority for the Javascript API - 
We have ArcGIS Server services but unfortunately we are not skilled developers and a lot of our staff are still using heavily customised ArcIMS web maps (which have a selection of map templates that they can use and annotate) and we are aware that printing a scaleable and annotated map is so important to them, that it will prove really difficult to move to a new ArcGIS server API without this functionality.



 
cpyle 
Oct 19, 2011

Yes please - something akin to a REST enabled, mxd-backed map template that merges multiple services and client side graphics and outputs pdf



 
dmortenson 
Sep 28, 2011
Top priority feature, no doubt. 


 
willghomi 
Apr 16, 2011
Each map usually contains multiple map services (per ESRI's recommendation to split static/cached data and dynamic/non-cached data into separate map services), and may also contain graphics drawn by the user. The SOE samples only work on a single map service, so they don't solve the problem.


 
dmillen 
Feb 23, 2011

If you're looking for an off-the-shelf solution, advanced printing using Esri's JavaScript, Flex and Silverlight API is available now as part of our Geocortex Essentials product for ArcGIS Server.

Highlights of this feature include:

  • Print to scale using beautiful, customizable layouts that you can create with our GUI-based designer
  • Incorporate multiple map services, including graphics layers
  • Small to large format, high-resolution output (no limits on size/quality)
  • Currently licensed by hundreds of organizations worldwide

You can find out more here: http://blog.geocortex.com/2010/12/13/printing-huge-maps/

Drew Millen
Latitude Geographics | Developers of Geocortex Software - Do more with Esri's ArcGIS Server
www.geocortex.com



 
TomLUX 
Feb 23, 2011
May be this is a temporary solution.
I implemented a rest-enabled PrintSOE in Java

http://www.arcgis.com/home/item.html?id=6809086326ea4c76bf026a32bb9dd698


 
smidler 
Feb 9, 2011
A decent looking print option for any of the APIs (Flex more so because that's what I'm using) would be great.  Our field is based on map making and so a better looking basic print-to-map option just makes sense!  If this were available I could spend my (very) limited time working on something fantastic rather than trying to create a 'basic' function for my application.


 
brendwal 
Jan 12, 2011
 This should have been implemented a version ago at least!  


 
erike 
Dec 21, 2010
This is so fundamental, it's silly it even needs to be promoted.


 
kirkktx 
Dec 5, 2010
I would like to see a PageLayout control that supports client side printing in Silverlight.


 
brayo1977 
Nov 23, 2010
 It is possible to create a Geoprocessing Task (in 10) using the new ArcPy site-package (ArcPy - Mapping Module - Functions - Exporting and Printing) for exporting to any of the ten ArcMap export types (PDF, JPEG, GIF, etc).  


 
alnesbit 
Jul 28, 2010
I just want the out of the box web applications created from ArcGIS Server to have a print task that outputs a decent looking map. Where the attribute table for the queried parcels is readable. Currently, the legal description field is cut off. There is no easy way to change this. We are not developers. My clients also want the ability to print to a scale, to create a PDF, and to rearrange the legend, title, map on the printed page - the frames. They want the scale bar to not turn black and white so that it's readable also. How about a north arrow? This is a GIS map right? And custom page sizes would be nice. Don't you think that ArcGIS server web applications should get you a usable map from the print task, right out of the box? What's the point otherwise? Anyway


 
RonBruder 
Jul 22, 2010
This one gets my vote for sure!  


 
mjss25 
Jun 8, 2010
 One of the greatest disadvantages of my javascript API maps and apps is the print functionality; my users love the applications and fair speed but when they can't find the print button or the print functionality is limited (not all annotations printed or hand drawn sketched ignored) they seem to get discouraged to continue using the great online map that can't produce a fair print paper map.


 
jdillonsa 
Jun 3, 2010
This would be an invaluable enhancement! Especially in the ArcGIS Google Maps JS API.


 
phuppe 
Jun 1, 2010
 Also required for this and any task implemented, is the use of resource files for all text displayed to the users.  This makes the task language independent and easily customizable for any language.  The Current Print task in the Web ADF uses a floating panel for which you do not have access to the labels in the panel.  This means that i cannot modify their text value to display them in the language of my choice.  we have a requirement to display all web application in both English and French and this as always been an issue!!!


 
dwwheelock 
May 28, 2010
Oh please oh please oh please oh!  :) :) :)


 
csergent08 
May 27, 2010
All API's should have this standard. People will want to print a map after they query information. It's not always ideal or possible to look at the output on an electronic device; desktop or portable.


 
craig.coleman 
May 27, 2010

Although ArcGIS online and/or ArcGIS.com will provide a print service, this won't do for many of our client organisations who have a browser based application against their local installs of ArcGIS Server.

Many of our clients are utilities with 1000s of view-only users who won't have a copy ArcView installed due to the cost implications.  Therefore we often take the Layout Server Object extension and bastardise it to each and every case which consumes valuable developer resources.

In tender response situations, if we see the need for a browser application and printing, this will either inflate the development effort significantly or mean we have to respond with "Not Compliant", either way the effect may be that we do not win the bid.



 
jian 
May 18, 2010
ArcGIS Online or ArcGIS.com will provide a print service.


 
I think that a completely separated webservice for printting would be more efficient. It should be a non-synchronous operation, a sort of task with a ticket. Once completed, some methods in the REST API should be called to ascertain its status. It may have operations liks, addWaterMark, addLegend, configureLegend, addNorthArrow, etc..


 
268243 
Apr 1, 2010
Seeing as there are currently 3 separate people that have submitted ideas about printing in the APIs, it appears that the desire for this is widespread.  Adoption of new technologies is simplified when there are no feature gaps from the previous generation of tools (ie ADF)


 

 

Terms and Conditions   |    Feedback   |   FAQs
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat