laptop and a wrench


A printed PDF legend overruns its defined boundaries when used with multiple services and a custom web print geoprocessing service.

Last Published: May 27, 2019 ArcGIS for Server
Bug ID Number BUG-000091782
SubmittedOctober 28, 2015
Last ModifiedJuly 28, 2020
Applies toArcGIS for Server
Version found10.3.1


In ArcMap, after adding a legend to a map template from Portal for ArcGIS, the legend in the printed output may go beyond the designated frame if the legend properties are not configured correctly for custom print templates.

The picture shows the example of the error produced
It is highly recommended to use ArcGIS Pro for printing and exporting, especially when experiencing issues caused by the limitations of the ArcMap display engine. More specifically, ArcGIS Pro is not restricted by the graphical device interface (GDI) limitations that some users experience in ArcMap. For example, transparency is natively supported in ArcGIS Pro, preventing the rasterization of layers. Additionally, ArcGIS Pro supports transparency in layout elements.

The following instructions describe how to configure the legend of a print template used by a printing service in Portal for ArcGIS.


  1. Open the MXD used by the print template in ArcMap.
  2. Double-click the legend to open Legend Properties, and click the Layout tab.
  3. In the Fitting Strategy section, check the Fixed Frame, Automatically adjust number of columns, and Shrink contents to fit frame check boxes.
  4. In the Text Wrapping section, check the Wrap labels and Wrap descriptions check boxes.
  5. In the Label width and Description width text boxes, type the desired values.
  6. Click Apply > OK.
The picture describes how to configure the legend properties in ArcMap
Setting the measurements for description and label width restricts the width so that it remains constant even if the legend frame is resized.
For fonts which are still large for the template, set the fonts manually in the Legend Properties from ArcMap. Create a placeholder layer in the map template to activate the font parameter for legend items in Legend Properties > Items.

Additional Information

This issue has been closed as Non Reproducible. If any customers do encounter this issue in their workflows using current versions of the software (10.6 or higher) using the default print service or a custom print service published from ArcGIS Pro, please reach out to Esri Support to log a new defect.


Use the ArcGIS GIS Server 10.4 beta 2 environment for the complete workflow.

Steps to Reproduce

Bug ID: BUG-000091782


  • ArcGIS for Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic