Thanks Walter, but I remember having seen it that focus.fll was no longer free, is that correct?
TIA
Luis
>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).