DECLARE INTEGER ShellExecute IN Shell32; INTEGER hwnd, STRING @lpOperation,; STRING @lpFile, STRING @lpParameters,; STRING @lpDirectory, INTEGER nShowCmd * lcfile is the file to print lcfile = 'C:\mydir\mybmp.bmp' lcop = 'print' lcdir = JUSTPATH(lcfile) = ShellExecute(_VFP.hWnd, @lcop, @lcfile, 0, @lcdir, 0)