Hi Richard,
If this is your exact code I would expect you need a space between NAME and (lcPrinterName).
SET PRINTER TO NAME (lcPrinterName)
>Hello All ;
>
>I've got a real strange problem... normally, in a .Prg that calls a report, I give the user to option to select a printer...
>
>lcPrinterName = " "
>lcPrinterName = GETPRINTER()
>SET PRINTER TO NAME(lcPrinterName)
>
>Te above code used to work fine.. but not anymore! Now it seems that Vfp ignores what the user specifies and prints to the printer that the report was initially created for. I also tried to use SYS(1037) and got the same exact result. Anyone know the work around for this, or what I am missing?? Please help!
>
>THanks to you all again
>R. Knierim
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney