Sorry, typo it should be as follows:
That's weird. I guess the set printer on clause brings up the send fax wizard. Try maybe to edit the report and SET the fax printer in the page setup of the report. Then run the following:
set printer to name "Fax"
report form einar noconsole to file test
rename "test.txt" to "test.tif"
Tell me if it doesn't work
Jaime
>
>>Thanks,
>>I got this to work by running the following code:
>>
>>Set Printer to name fax
>>Set Printer on
>>report form einar to file "c:\it\einar.tif" noconsole
>>
>>The only problem is that I have to go through the Send Fax Wizard every time I run the code. (I am using W2K and VFP7)
>>
>>Is there any way I can avoid getting the Send Fax Wizard dialog?
>>
>>Thanks,
>>Einar
Why do programs stop working correctly as soon as you leave the Fox?