>>I,ve just finished converting a large Foxpro 2.0 application to Foxpro 2.6 Dos, everything seems fine except for the printing of reports, which all seem to have lost there setup, e.g boxes don't print, lines per page ignored and orientation defaults tp portrait, the default font on the printer is the same and I've converted other apps with no problem
>>TIA
>>Peter Kane
>
>Hi Peter,
>
>Printer setup name (using GENPD.APP) is kept in the resource file. Off the top of my head, I can't remember what the syntax was to bring up the necessary dialog from it to set the default printer, but I'll check if need be.
I think what you're looking for is the PDSETUP keyword, which tells FoxPro DOS to load the printer driver you used when you saved the report. The syntax is for example REPORT FORM myReport PDSETUP TO PRINTER NOCONSOLE.
HTH,
Rick
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.