WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/gfx/printerenumerator;1

This component implements the following interfaces:

Properties

readonly PRUnichar* nsIPrinterEnumerator.defaultPrinterName

The name of the system default printer. This name should also be present in printerNameList below. This is not necessarily gecko's default printer; see nsIPrintSettingsService.defaultPrinterName for that.

readonly nsIStringEnumerator nsIPrinterEnumerator.printerNameList

The list of printer names

Methods

InterfaceMethod
nsIPrinterEnumerator void displayPropertiesDlg ( PRUnichar* printer , nsIPrintSettings printSettings )
nsIPrinterEnumerator void initPrintSettingsFromPrinter ( PRUnichar* printerName , nsIPrintSettings printSettings )

Reference documentation is generated from Mozilla's source.