nsDeviceContextSpecOS2::PrnDlg.GetPrinter(defaultPrinter, getter_Copies(printer));
nsDeviceContextSpecOS2::PrnDlg.GetPrinter(0, getter_Copies(printer));
void GlobalPrinters::GetDefaultPrinterName(PRUnichar*& aDefaultPrinterName){  aDefaultPrinterName = nsnull;  nsresult rv = GlobalPrinters::GetInstance()->InitializeGlobalPrinters();  if (NS_FAILED(rv))      return;  if (GetNumPrinters() == 0)     return;  ULONG defaultPrinter = nsDeviceContextSpecOS2::PrnDlg.GetDefaultPrinter();  nsXPIDLCString printer;  nsDeviceContextSpecOS2::PrnDlg.GetPrinter(defaultPrinter, getter_Copies(printer));  nsAutoChar16Buffer printerName;  PRInt32 printerNameLength;  MultiByteToWideChar(0, printer, strlen(printer), printerName,                      printerNameLength);  aDefaultPrinterName = ToNewUnicode(nsDependentString(printerName.get()));  GlobalPrinters::GetInstance()->FreeGlobalPrinters();}