I created a real simple web app, copied from samples actually, to try figuring out something about the Print Dijit. Here's the thing. When you click print here there are two major concers with the result:
- The symbology, especially the rectangle in the bottom left corner, are mashed up.
- The background layer is not that high quality as it is in the browser
Any thoughts how this is possible and how to resolve both issues?
2 Answers 2
try setting the preserveScale property of the PrintTemplate to true. this should ensure that the actual reference scale of the basemap is printed, otherwise resampling is necessary to attempt to display the same extent.
https://developers.arcgis.com/en/javascript/jsapi/printtemplate-amd.html#preservescale
-
Did not do the job unfortunately :(Dennis Hunink– Dennis Hunink2013年10月07日 20:23:18 +00:00Commented Oct 7, 2013 at 20:23
This may be because you are printing the background as a tiled layer. Take a look at this document from ESRI about high quality printing. http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000
Update: I've recently run into this same issue myself. In my case its because of the tiled layer, in order for the print out to not have a fuzzy appearance, it may be necessary to set the scale of the print to the nearest tile cached scale.
-
Thanks for the update. Whoever, the problem seems to resident in the symbols. When using default symbols from the Esri documentation, the fuzziness will disappear. Any more thoughts?Dennis Hunink– Dennis Hunink2013年10月07日 20:24:26 +00:00Commented Oct 7, 2013 at 20:24
-
Can you show me one of the symbols?CLJ– CLJ2013年10月07日 20:33:33 +00:00Commented Oct 7, 2013 at 20:33
-
The symbols are on tpgrf.nl/testserver/alpha/wp-content/themes/topografieindeklas/…. As in this web map: arcgis.com/home/webmap/…Dennis Hunink– Dennis Hunink2013年10月08日 12:27:16 +00:00Commented Oct 8, 2013 at 12:27
-
Looks like you are using a byte string instead of an url to an image...have you tried using an image url? services.arcgis.com/nSZVuSZjHpEZZbRo/ArcGIS/rest/services/…CLJ– CLJ2013年10月10日 02:13:47 +00:00Commented Oct 10, 2013 at 2:13
-
Yes I did actually, no luck either.Dennis Hunink– Dennis Hunink2013年10月14日 19:26:21 +00:00Commented Oct 14, 2013 at 19:26
Explore related questions
See similar questions with these tags.