Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_ReportOutput in a COM DLL
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Oracle
Miscellaneous
Thread ID:
01065633
Message ID:
01065972
Views:
16
>I have XFRX too and I use it to convert VFP reports to PDF and other formats but I didn't know you can actually print a VFP report using XFRX. How do you do it? Please give me a little clue as what function of XFRX to use.

Try
LOCAL loSession, loXFF
loSession= xfrx("XFRX#INIT")
IF loSession.SetParams(,,,,,,"XFF") = 0
    loSession.ProcessReport(lcMyReport)
    loXFF = loSession.finalize()
ENDIF

loXFF.printDocument(lcPrinterName, lcPrintJobName)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform