Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the default Printer Name ?
Message
 
 
To
26/12/2004 23:18:55
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972250
Message ID:
00972253
Views:
17
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform