Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print RTF text?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01363062
Message ID:
01363069
Vues:
21
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform