Rather than sending
your map or layout view to a printer, you may want to simply create PDF files that can be shared. Arcpy mapping provides an
ExportToPDF() function, which you can use to do this.
PDF is a very popular interchange format designed to be viewable and printable from many different platforms. The arcpy mapping
ExportToPDF() function can be used to export data frames or the page layout to PDF format. By default, the
ExportToPDF() function exports the page layout, but you can pass in an optional parameter that references a particular data frame, which can be printed instead of the page layout. In this recipe, you will learn how to export the page layout as well as a specific data frame to ...