>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
Set Printer To NAME "NEC860"
Set Printer to NAME "NEC860 Printer"
lcPrinterName = "NEC860"
Set Printer to NAME (lcPrinterName )
--sb--