Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Printer To
Message
 
 
To
18/08/2002 11:52:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00690867
Message ID:
00690871
Views:
15
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform