See faq#7840 Why won't my report print to the SET PRINTER TO NAME printer?
>I have a report I created called 'LN00100D'. I am trying to print it to a different printer than it was set up for without using 'report form LN0010D to printer PROMPT'. I tried the following command:
>
>set printer to name getprinter()
>report form LN0010D to printer noconsole
>
>If I select another printer with the getprinter() command, it still prints to the printer the report was originally set up for. For some reason the 'set printer to name' command seems to be doing nothing.
--sb--