Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to JPEG
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01054456
Message ID:
01054547
Views:
20
This message has been marked as the solution to the initial question of the thread.
LOCAL oListener As ReportListener, nPageIndex
oListener = CREATEOBJECT("ReportListener")
oListener.ListenerType=3 && renders all pages at once

* make sure the report can load and run
REPORT FORM MyReport PREVIEW OBJECT oListener

FOR nPageIndex=1 TO oListener.PageTotal
        cOutputFile = "tmp"+TRANS(nPageIndex)+".jpg"
        oListener.OutputPage(nPageIndex,;
                cOutputFile, 102, 0,0,768,1024) && 102=jpeg
NEXT
Previous
Reply
Map
View

Click here to load this message in the networking platform