Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports
Message
From
01/12/2001 14:03:31
Walter Meester
HoogkarspelNetherlands
 
 
To
30/11/2001 13:20:37
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00585988
Message ID:
00588414
Views:
35
The focus.fll freely available from www.fastwrite.com provides a method for getting the printerdriver and port name. I've been using this fll for about three years now and it works perfectly.

Walter,



>Thanks Andreas! I remembering some code on VFP to have the Printers collection, but I'm not sure. I also think that there was a .DLL file that did, in case I find it I will tell you.
>
>
>Thanks anyway,
>
>
>Luis
>
>
>>In VB Printers collection will provide you the printer driver, but in VFP APRINTERS() will only give you the printer name and the port name. There are API calls (GetPrinterDriver() or EnumPrinters() ) to do this but I can't handle that in VFP code and I'm not willing to build a DLL just for this (at least not yet!).
>>
>>>How can you get the printer driver name in VB, perhaps that can help me to do it in VFP.
>>>
>>>TIA
>>>
>>>Luis
>>>
>>>
>>>>>>I am thinking about using Crystal Reports in my VFP application. Has anyone had any success using Crystal Reports or am I better off sticking with the Office Automation?
>>>>>>
>>>>>>Lawrence
>>>>>We sucessfully integrated Crystal Reports in a VFP application. I highly recommend you Craig's article on this topic: http://www.craigberntson.com/Articles/kb010.htm
>>>>
>>>>
>>>>Hi Hector,
>>>>In your application do you set the printer destination for a Crystal report? There is a SelectPrinter() method but it requires the printer driver (which in VB is not a problem at all).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform