Print options interface

 Do not attempt to freeze this API - it still needs lots of work. Consult
 John Keiser <jkeiser@netscape.com> and Roland Mainz
 <roland.mainz@informatik.med.uni-giessen.de> for futher details.
[scriptable, uuid(d9948a4d-f49c-4456-938a-acda2c8d7741)]
interface nsIPrintOptions : nsISupports

Constants

 Native data constants
const short kNativeDataPrintRecord = 0

Methods

 Creates a new PrintSettnigs Object
 and initializes it from prefs
nsIPrintSettings CreatePrintSettings()

          
[noscript] void GetDefaultFont(in nsNativeFontRef aFont)

          
[noscript] voidPtr GetNativeData(in short aDataType)

          
[noscript] void SetDefaultFont(in nsNativeFontRef aFont)
 Show Native Print Options dialog, this may not be supported on all platforms
void ShowPrintSetupDialog(in nsIPrintSettings aThePrintSettings)
 available Printers
 It returns an enumerator object or throws an exception on error cases
 like if internal setup failed and/or no printers are available.
nsISimpleEnumerator availablePrinters()
 display Printer Job Properties dialog
void displayJobProperties(in wstring aPrinter, in nsIPrintSettings aPrintSettings, out boolean aDisplayed)
 Get a prefixed integer pref 
PRInt32 getPrinterPrefInt(in nsIPrintSettings aPrintSettings, in wstring aPrefName)

          
void setFontNamePointSize(in AString aName, in PRInt32 aPointSize)