Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00585988
Message ID:
00588005
Views:
27
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