Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Map Objects - Printing
Message
De
08/03/2005 11:44:51
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Map Objects - Printing
Divers
Thread ID:
00993709
Message ID:
00993709
Vues:
59
I have gleaned the following code from various forums in an attempt to print out of Map Objects in VFP8
Declare Integer CreateDC in Win32API ;
	String lpszDriver, ;
	String lpszDevice, ;
	String lpszOutput, ;
	String lpInitData

lcPrinterName = GetPrinter()

lnPrinterHDC = CreateDC("WINSPOOL",m.lcPrinterName,.NULL., .NULL.)

thisform.oleMap.OutputMap(lnPrinterHDC)
After selecting a printer, lnPrinterHDC is set to -1591670661 but nothing is actually sent to the printer.

ESRI, the manufacturer of MapObjects, does not provide any sample code from printing in VFP. Any help is greatly appreciated.

Todd.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform