AnsweredAssumed Answered

PrintMap Function Issue in ArcMap 10.3

Question asked by lcorrell on Mar 24, 2015

I recently upgraded from ArcMap 10.0 to  ArcMap 10.3 and have had an issue I want to see if anyone knows how to fix. I use very simple Python scripts to print maps in PDF form so  I don't open ArcMap and adjust layers and lables etc.. Here is an example of the script I use.


import arcpy.mapping

mxd =arcpy.mapping.MapDocument("filename.mxd")

printer_Name="CutePDF Writer"

arcpy.mapping.PrintMap(mxd, printer_Name,'Page_Layout')


I don't get an error when I run the script, but when I open the PDF's they are completely blank (except for text box's with the title). However, If I run this script using Python within ArcMap it works fine. I've also tried using the ExportPDF function and the PDFs come up blank as well.


I am certainly no python wizard, and this is about as complex as anything I do with Python, so any help you can provide would be greatly appreciated.