Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print RTF text?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01363062
Message ID:
01363069
Views:
22
>It prints well but without a way to specify margins :-(

From FAQ posting:

Finer control of the setup of the print device is available; the last parameter passed to CreateDC(), lpInitData, could be a pointer to a DEVMODE structure defining how the device context is to be set up. The DEVMODE structure is moderately complex, and beyond the scope of this FAQ; for a detailed discussion of the structure, see the MSDN documentation on the DEVMODE structure in the Platform SDK docs. The buffer necessary to hold the DEVMODE structure could be created either using Christof Lange's STRUCT class, or my ClsHeap class, but you do have to know what all the possible elements of the structure are, and how to use them properly.

Check http://blog.moxiedata.com/PermaLink,guid,7860a9ef-6260-4e6f-b472-5abe8e8d0e36.aspx (end of the page).
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform