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))
>>>>
>>>>
--sb--