Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Provide Crystal w/ Printer Info
Message
From
18/01/2002 13:41:00
Walter Meester
HoogkarspelNetherlands
 
 
To
18/01/2002 10:47:34
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00606773
Message ID:
00606913
Views:
50
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
Previous
Reply
Map
View

Click here to load this message in the networking platform