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.

nsIPrinterEnumerator

IID:5e738fff-404c-4c94-9189-e8f2cce93e94
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly PRUnichar* 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 printerNameList

The list of printer names


Methods

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

void displayPropertiesDlg ( PRUnichar* printer , nsIPrintSettings printSettings )

Arguments:
printer
printSettings

void initPrintSettingsFromPrinter ( PRUnichar* printerName , nsIPrintSettings printSettings )

Initializes certain settings from the native printer into the PrintSettings These settings include, but are not limited to: Page Orientation Page Size Number of Copies

Arguments:
printerName
printSettings

Reference documentation is generated from Mozilla's source.