Information générale
Catégorie:
Fonctions Windows API
>>Set("Printer",2) gives me the name of the installed standard printer in Windows. What I am looking for in VFP 5.0 is a way to find the name of the active printer. I want to show the user the name of the active printer in my standard 'print out'-dialog. In VB it can be done like this:
>>
>>Dim PrinterNAme as String
>>PrinterName = Application.ActivePrinter
>>
>>Petter Andersen
>
>Pls advs. What do u mean by active printer ???
>
>Additionally u can look at these functions :-
>Getprinter(), Aprinter(), prtinfo()
Hello, Dubai and thanks for your reply.
By active printer I mean, the printer that is currently/last chosen. If you run sys(1037) you can change the active printer from within VFP. But how can you afterwards find out which printer this is?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement