yes, it gets changed to the correct printer. I am going to try actually printing to a printer with a Post Script driver to see that the report is printing and good, then change it back to the "to FILE:" and run it again, if good.
>Did you check if
SET PRINTER TO NAME (gaPrinters(lnPos,1)) actually changes the printer?
>
>>ooohhhh. Checking.
>>
>>update: unchecked printer enviroment, still have the same problem.
>>
>>Beth
>>>Did you unche Printer nvironment in the report?
>>>
>>>>That changed in vfp9? Because it works in vfp8.
>>>>
>>>>Thanks for the help.
>>>>Beth
>>>>
>>>>Update: Changed the code and ran it. did not work. Going into debug again. :(
>>>>
>>>>>It should be
>>>>>
>>>>>SET PRINTER TO NAME (gaPrinters(lnPos,1))
>>>>>
>>>>>