AnsweredAssumed Answered

Problem while exporting map using geoprocessing service

Question asked by pkroy2k4 on Apr 1, 2014
We have a published a geoprocessing service for exporting map to PDF using the python script as follows

import arcpy
mxd = arcpy.mapping.MapDocument(r"D:\roy\Project2.mxd")
arcpy.mapping.ExportToPDF(mxd, r"D:\roy\Output\Project.pdf")
del mxd

The problem we are facing is that the python script works fine when we run from desktop. The ouput is attached in project2.pdf. But when we use the geoprocessing service the legend items get distorted as can be seen in project1.pdf.

The legend is a custom legend generated using picture marker symbols to show only layers those are within extent.

Any help is highly appreciated.

Pankaj Roy