Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching printers programatically
Message
De
13/02/2002 09:55:15
 
 
À
13/02/2002 01:35:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00619293
Message ID:
00619444
Vues:
20
>Hi. I am using VFP7 on a WinNT4 with Win98 w/stations. I have a USB bar code printer and a parallel printer that I want to connect to a pc. How do I programatically switch to "the right printer at the right time" in VFP?
>
>Thanks, Randy

One way to do it is with Word.
oWord = createobject("word.application")
oDialog=oWord.Dialogs(97)
WITH oDialog
   .Printer = "Proper Printer Name"
   .Execute
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform