Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Provide Crystal w/ Printer Info
Message
De
18/01/2002 13:41:00
Walter Meester
HoogkarspelPays-Bas
 
 
À
18/01/2002 10:47:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00606773
Message ID:
00606913
Vues:
44
Hi deri,

I've been using the Focus.fll available from www.fastwrite.com for this. It's a library that contains many usefull function for use in VFP.

The function you're looking for is PRN_GetPrnData()

see Thread #482054 Message #482134 for more info

Walter,


>I am integrating Crystal Report 8.5 into my VFP6 app, and want to be able to feed the report a user specified printer at run time. The Dev Help says I have to set the printer name, driver and port for the report to accept the settings. I know Fox can give me the name and port thru Aprinters(), but not the driver. I have seen some documentation on going to win.ini for the info, and other info on using the registry. Two questions: Which is better if I can't guarantee the version of windows on the PC (I'm thinking Registry is better)? and -- Where can I find the win32api.hlp that the VFP documentation says that I have so I can figure out what I'm asking the registry for?
>Thanks in advance for any help!
>Deri
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform