Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default to LPT1
Message
De
20/06/1996 13:24:21
Paul Wei
Fib, State of Michigan
Lansing, Michigan, États-Unis
 
 
À
17/06/1996 13:45:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00002271
Message ID:
00002624
Vues:
28
>Thank you for responding to my question. Through
>the help I have received so far, I am able to do
>just as you suggested.
>
>However, (there is always a however) is there a
>way to deal with having the same printer NAME
>associated with different printing destinations
>(LPT1, LPT2, etc ...) ? I ran into that
>situation at the company where I work. In that
>event, SET PRINTER TO NAME xxx allows VFP to
>select the first one it finds.
>
I can't find a good method to auto select the second printer with the same name.

I guess you'd have to create the array containing all the printer names and search it for dups.

Once dups are found, you'd have to tell the user via a messagebox that you can't pick
a printer for he/she and they have to pick one instead. Right after the message, I'd
issue the "SET PRINTER TO GETPRINTER()" command to let the user choose a printer with
the correct port.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform