Print form from javascript

715
3
09-24-2012 11:30 AM
IvanHuilca
New Contributor
Hi all.
I'm new to using the ArcGIS JavaScript API, the idea is to print a form result which contains data stored in a geodatabase, oviamente will be loaded through a service.
The idea is that you enter an application number and a form is printed in A4 format result directly to the printer.

I would appreciate any suggestions.

regards
Ivan
0 Kudos
3 Replies
JohnGravois
Frequent Contributor
our API definitely provides techniques to retrieve the data from ArcGIS Server, but our print tools specifically target map contents.

QueryTask
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm
IdentifyTask
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/identifytask.htm
FindTask
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/findtask.htm
0 Kudos
IvanHuilca
New Contributor
Thanks John for your reply.
As I understand the tools available ArcGIS JavaScript API are service oriented map, then what I would play my report is generated with data services with another tool in javascript,
Do you have any suggestions for focus to try and solve my problem? Since I am new to javascript and have no idea how. I can think of something similar to how a printer object in Visual Studio 6.0

thanks
0 Kudos
KarenRobine
Occasional Contributor II
Thanks John for your reply.
As I understand the tools available ArcGIS JavaScript API are service oriented map, then what I would play my report is generated with data services with another tool in javascript,
Do you have any suggestions for focus to try and solve my problem? Since I am new to javascript and have no idea how. I can think of something similar to how a printer object in Visual Studio 6.0

thanks


Check out the new Print geoprocessing Task in 10.1. 
But, if you want to get more complicated and add tables and charts and other things, you might need to write a Server Object Extension to solve your issue. I ended up going that route for some work I was doing.
0 Kudos