本篇介绍如何利用arcpy实现获取可用打印机列表、打印地图、导出地图至PDF和图像。
通过arcpy提供的ListPrinterNames()函数可以生成可用的打印机列表。
import arcpy.mapping as mapping mxd = mapping.MapDocument('current')
京公网安备 11010502049817号