Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/r/arcpy-HEAD/townlayers.py   arcpy(Download)
 
print "exporting to townlayers.pdf"
arcpy.mapping.ExportToPDF(mxd, r'C:/dev/python/arcpy/pdf/townlayers.pdf', layers_attributes='LAYERS_ONLY' , resolution=300)
 
del mxd, df, fc, towns, townGroup, townLayer

src/a/r/arcpy-HEAD/pages2pdf.py   arcpy(Download)
    # export map to pdf with some basic options
    # ExportToPDF (map_document, out_pdf, {data_frame}, {df_export_width}, {df_export_height}, {resolution}, {image_quality}, {colorspace}, {compress_vectors}, {image_compression}, {picture_symbol}, {convert_markers}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality})
    arcpy.mapping.ExportToPDF(mxd, pdf, resolution=300)
 
# delete objects