ListPrinterNames

この ArcGIS 2.6 ドキュメントはアーカイブされており、今後更新されません。 コンテンツとリンクが古い場合があります。 最新のドキュメントをご参照ください

概要

Returns a list of available printers on the local computer.

構文

ListPrinterNames ()
戻り値
データ タイプ説明
String

Returns a list containing the printer names available to the script.

コードのサンプル

ListPrinterNames example

Returns a list of printer names available to session.

import arcpy

# Print available printers
printers = arcpy.ListPrinterNames()
for printer in printers:
    print(printer)

このトピックの内容