AnsweredAssumed Answered

Problem while exporting map using custom geoprocessing service

Question asked by pkroy2k4 on Apr 3, 2014
Hi All,

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 h[ATTACH=CONFIG]32791[/ATTACH][ATTACH=CONFIG]32792[/ATTACH]ighly appreciated.

Thanx in Advance,
Pankaj Roy

Attachments

Outcomes