Declare Integer CreateDC in Win32API ; String lpszDriver, ; String lpszDevice, ; String lpszOutput, ; String lpInitData lcPrinterName = GetPrinter() lnPrinterHDC = CreateDC("WINSPOOL",m.lcPrinterName,.NULL., .NULL.) thisform.oleMap.OutputMap(lnPrinterHDC)After selecting a printer, lnPrinterHDC is set to -1591670661 but nothing is actually sent to the printer.