Select to view content in your preferred language

[SOLVED] Print Current Map

584
2
05-14-2012 02:50 PM
JoelMadero
Emerging Contributor
Hi All,

Googled around and again failing to find adequate documentation. All I want is to print current map. I see this:

arcpy.mapping.PrintMap

but that doesn't actually print my map. Thanks in advance
Tags (2)
0 Kudos
2 Replies
curtvprice
MVP Alum
There is an example in the online help for the arcpy.mapping PrintMap method.

The only thing missing in their example is how to get the current map document:

mxd = arcpy.mapping.MapDocument("CURRENT")
arcpy.mapping.PrintMap(mxd)


Does this help?
0 Kudos
JoelMadero
Emerging Contributor
There is an example in the online help for the arcpy.mapping PrintMap method.

The only thing missing in their example is how to get the current map document:

mxd = arcpy.mapping.MapDocument("CURRENT")
arcpy.mapping.PrintMap(mxd)


Does this help?


That did the trick. Thank you much Curt
0 Kudos