Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need way to get the printer driver name from within VFP
Message
De
28/02/2000 11:16:14
 
 
À
28/02/2000 10:17:19
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00338341
Message ID:
00338459
Vues:
11
Walter,

Well, then I suspect you're headed directly for Registy-Land. *g*

As I understand things there are some functions and features that need to be read directly from the printer and these are handled through Windows DLLs. Perhaps not. You might send Rob Abram a question about this as he's done some pretty extensive work in this area and my suspicion is that if he could have done this any other way he would have....

Good luck!

Best,

DD


>Doug,
>
>I've seen his solution, but the Focus.fll provides just enough control over printer settings. The only problem i've got with the focus library is that I've got to use a kernel.DLL and a Focus.fll and I want to get rid of it. Implementing the Fox Power printer solution will eliminate those, but will reqiure a Foxpp.dll.
>
>In short, I'm looking for a pure VFP solution without the help of any third party DLLs or FLLs.
>
>Walter,
>
>
>>Walter,
>>
>>Rob Abram has uploaded Fox Power Printer here to the library that is probably a lot closer to what you're looking for.
>>
>>Best,
>>
>>DD
>>
>>
>>
>>>John,
>>>
>>>I've found a solution in a third party library called focus.fll written by pat boens. Download the focus.fll library from www.fastwrite.com and use the PRN_GetPrnData function. Documentation is also available from the same site.
>>>
>>>B.T.W. if someone else has found a more pure VFP (so without third party libraries) solution please reply.
>>>
>>>Walter,
>>>
>>>>In Crystal Reports, to change the printer you need to send the function the printer name and port which can come from aprinters() but you also need to send the driver name. I can't find any VFP function that gives it to me. How do I get the name of the driver assoicated with a printer? I need to do this myself and not just have CR do it because we aready have over 100 FoxPro reports and a very nice printer control system in place.
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform