Back to index

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

#include <nsDeviceContextSpecOS2.h>

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

List of all members.

Public Member Functions

 nsPrinterEnumeratorOS2 ()
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 168 of file nsDeviceContextSpecOS2.h.


Constructor & Destructor Documentation

Definition at line 399 of file nsDeviceContextSpecOS2.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: