Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsPrinterEnumeratorXlib Class Reference

#include <nsDeviceContextSpecXlib.h>

Inheritance diagram for nsPrinterEnumeratorXlib:
Inheritance graph
[legend]
Collaboration diagram for nsPrinterEnumeratorXlib:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsPrinterEnumeratorXlib ()
void initPrintSettingsFromPrinter (in wstring aPrinterName, in nsIPrintSettings aPrintSettings)
 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.
void enumeratePrinters (out PRUint32 aCount,[retval, array, size_is(aCount)] out wstring aResult)
 Returns an array of the names of all installed printers.
void displayPropertiesDlg (in wstring aPrinter, in nsIPrintSettings aPrintSettings)

Public Attributes

readonly attribute wstring defaultPrinterName
 The name of the default printer This name must be in the list of printer names returned by "availablePrinters".

Detailed Description

Definition at line 132 of file nsDeviceContextSpecXlib.h.


Constructor & Destructor Documentation

Definition at line 745 of file nsDeviceContextSpecXlib.cpp.

{
}

Member Function Documentation

void nsIPrinterEnumerator::displayPropertiesDlg ( in wstring  aPrinter,
in nsIPrintSettings  aPrintSettings 
) [inherited]
void nsIPrinterEnumerator::enumeratePrinters ( out PRUint32  aCount,
[retval, array, size_is(aCount)] out wstring  aResult 
) [inherited]

Returns an array of the names of all installed printers.

Parameters:
aCountreturns number of printers returned
aResultreturns array of names
Returns:
void
void nsIPrinterEnumerator::initPrintSettingsFromPrinter ( in wstring  aPrinterName,
in nsIPrintSettings  aPrintSettings 
) [inherited]

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.


Member Data Documentation

The name of the default printer This name must be in the list of printer names returned by "availablePrinters".

Definition at line 121 of file nsIPrintOptions.idl.


The documentation for this class was generated from the following files: