Hi Bruce,
The line is not ignored. You can verify that by adding WAIT WINDOW SET("PRINTER",3) after it.
However VFP9 Report Writer respects printer info stored in the report and sends report to that printer. You've to remove printer related info from the report by opening it the Report Designer, unchecking Printer Environment oh the Report menu and saving report.
Also, macro substitution is totally unnecessary in this case. The Name expression works fine here
SET PRINTER TO NAME (marprinter)
>
>I am in the process of converting a VFP5.0 program to VFP 9.0 and the following line works great in 5.0:
>
>set printer to name &marprinter
>
>it resolves to:
>
>set printer to name \\till3\P1006
>
>Running it unchanged in 9.0, the line is ignored and the print job goes to the default printer.
>
--sb--