>>What it takes to
programmatically create XPS document from VFP.
>>How this can be done ? Anybody done that ?
>
>Use SET PRINTER TO NAME "Microsoft XPS Document Writer" and then print a report or anything you need to output.
That is standard way of outputing reports or any other files to windows printer driver.
What I am interested in is programmatic generation of XPS format. As you very well know, in VFP we cannot do reports programmaticaly; You can programmatically create frx and then run it, you can tweak listeners to decorate reports etc, but you cannot create report output itself without using RD/FRX.
Since it has been designed as sort of MS response/competitor to PDF format, perhaps there are some publicly available interfaces or library (SDK/API?) set of calls to do that. I know that XFRX reporting tool is now outputing to XPS (so it is possible), but is there some way (free library/middleware) to do that without using commercial tools such is XFRX, since platform is now being heavily promoted (for free) by MS ?
Any hint/link/samples/help would be higly appreciated :)
TIA
Srdjan
>
>Doug