system.print.getDefaultPrinterName
New in 8.1.22
This function is used in Python Scripting.
Descriptionβ
Obtains the local default printer.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.print.getDefaultPrinterName()
Parametersβ
None
Returnsβ
String - A string that represents the default printer. Returns null if there is no default printer.
Scopeβ
Gateway, Vision Client, Perspective Session
Code Exampleβ
Code Snippet
# This code will return the name of the local default printer.
system.print.getDefaultPrinterName()