Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I begin?
Message
 
À
12/12/2003 18:43:26
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00858831
Message ID:
00858936
Vues:
16
Hi Calvin,

Speaking generally, modified DEVMODE data must be used to create a device context for the printer (CreateDC). And then draw something on this device context with GDI API functions:

StartDoc
StartPage
Escape
TextOut
BitBlt
StretchDIBits
SelectObject
EndPage
EndDoc
and more...

There is FoxPro example on my web site (members area):

Configuring DEVMODE structure for a printer
http://www.news2news.com/vfp/?example=384

API functions used in this code:
ClosePrinter
DeleteDC
DocumentProperties
GetActiveWindow
GetProfileString
OpenPrinter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform