Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the default Printer Name ?
Message
 
 
À
26/12/2004 23:18:55
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00972250
Message ID:
00972253
Vues:
16
It's better to use name expression
SET PRINTER TO NAME (lcWinprinter)
The SYS(6) returns setting for SET PRINTER TO. The SET("PRINTER",3) returns setting for SET PRINTER TO NAME.

>when I set printer to NAME &lcwinPrinter,
>why I use SYS(6) cannot display the printer name ?
>
>But when I SET PRINTER TO ABC.TXT, the SYS(6) can display the "ABC.TXT"

>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform