ListPrinterNames
Récapitulatif
Returns a list of available printer names.
Syntaxe
ListPrinterNames ()
| Type de données | Explication | 
| String | 
 Returns a Python list containing the printer names available to the script.  | 
Exemple de code
ListPrinterNames example
Returns a Python list of printer names available to session.
import arcpy
# Get a list of printer names
#
printerList = arcpy.ListPrinterNames()
# Output printer names to Python window
#
for printer in printerList:
    print printer
7/10/2012