>problem. To do so:
DECLARE INTEGER ShellExecute IN Shell32;
>> INTEGER hWnd, STRING @lpOperation,;
>> STRING @lpFile, STRING @lpParameters,;
>> STRING @lpDirectory, INTEGER nShowCmd
>>* lcFileName is the file
>>lcpath = JUSTPATH(lcFilename)
>>lcop = 'print'
>>lcparms = ""
>>lnresult = ShellExecute(0, @lcop, @lcFilename, @lcparms, @lcpath, 0)
See what this does.
>
>Ok, I'll give it a shot!
>
>Is there a way to control which printer that the command prints the file to? I'd love to be able to automatically include the images as part of my roster, so it will all go as a single print job. That way, I can direct it all to go to winfax.
>
>Thanks!
SET PRINTER TO NAME won't work (I don't think) because it doesn't change the default printer. You could use the WSH to change the default, or the printer utility (FoxPrinter?) that Robert Abram has available. You could also use the API to either re-write the WIN.INI file or change the registry setting. I'd investigate the first two options. They'll give you a small code base to maintain.
George
Ubi caritas et amor, deus ibi est