Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>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
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