>Hello all, I have a question about printing flat files. That is ASCII files. In VFP how can I program to print in landscape without user intervention. I need to be able to controll orientation of these print jobs.
> Any ideas would be much appreciated. I have read the manual and it is not a whole lot of help on this.
>:/
>
> Joe Johnston
>> I believe that we can find some Windows API function to do this job. But sometimes it's better to stay within Fox so consider following:
1. Create report with specified landscape orientation.
2. On detail band put just one box to print MyCursor.asciistring.
3. Before printing report form create in code cursor with one character/memo field: asciistring.
4. Fill this field with file contents using functions FOPEN,FSEEk,FREAD,FCLOSE. Foxpro manual has nice example.
5. REPORT FORM to print report.
Edward Pikman
Independent Consultant