How to get at Printer Settings with arcpy

Discussion created by kreuzrsk on Jun 27, 2011
Latest reply on Jun 28, 2011 by kimo
This is my first try with map automation so I'm starting small.  I just want to print out all the mxds in a directory.  I started testing with just one MXD and I'm already having problems.  Can you configure printer / page settings with arcpy? 

My test MXD is a color 9.3 MXD, with 11x17 format.  It keeps coming out on 4 8.5x11 sheets of paper in B/W.  I've saved the MXD after setting the color and page size but when I go back in those settings are lost.  Any ideas?

import arcpy.mapping as map
mxd = map.MapDocument(r"H:\Data Release\sect_s28t23r41e\maps\phshalebuffsect.mxd")
printerName = "\\\\DFWPSOLY01\\DFWHN5W5185b"
map.PrintMap(mxd, printerName, "PAGE_LAYOUT")
del mxd