--- title: "system.print.getDefaultPrinterName" description: "Obtains the local default printer." --- # system.print.getDefaultPrinterName > Obtains the local default printer. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) 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 ```python title="Code Snippet" # This code will return the name of the local default printer. system.print.getDefaultPrinterName() ```