Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Printer To
Message
 
 
À
18/08/2002 11:52:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00690867
Message ID:
00690871
Vues:
14
>Hi. VFP7 user. I am a little confused (by the on-line help) about the syntax for the SET PRINTER Command:
>Would it be (using NEC860 for my example):
>1. Set Printer To NEC860
>2. Set Printer To "NEC860"
>3. Set Printer To NAME NEC860
>4. Set Printer to NAME "NEC860"
>
>Thanks, Randy

You would use 4 if printer name has spaces in it. Otherwise you could use 3 or 4.
Set Printer To NAME NEC860
* or
Set Printer To NAME "NEC860"    
* but
Set Printer to NAME "NEC860 Printer"

lcPrinterName = "NEC860"
Set Printer to NAME (lcPrinterName )
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform