Hi!
You can put a WEB Browser ActiveX control on the VFP form, navigate to required HTML page in a file and call "print" method of it.
I also think you can use a ShellExecute() function described here in API functions section, but instead of "Open" use "Print", as well as a file to run should be that file with HTM extension. The system will automatically open appropriate browser for HTM file. When Print command is associated with fil and that application, the file will be printed. This way works for DOC, files, but I do not know if it works for HTM files - need to try it.
>Does anyone have an idea how to print an html formated page that is on the disk from vfp7 ?
>Is it possible to just call internet explorer with a parameter to print ?
>
>Thanks
>Eric
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.