Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExecWB and specifying a printer
Message
 
À
14/10/2004 17:41:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00951574
Message ID:
00951756
Vues:
11
Try this:

* Set default printer
oWSHNet = CREATEOBJECT('Wscript.Network')
oWSHNet.SetDefaultPrinter('Windows_Printer_Name')

* print it, no dialogs
...execWB(6,2)



>How can I specify the printer when using execWB(6,1)? Currently it brings up the print dialog box with the Windows Default printer selectd. I want to be able to specify which printer is selected in the dialog box...
>
>Thanks in Advance!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform