>has anyone had luck using the command
>set printer to name "laserjet 4"
>then
>report form myreport to print
>
>and get the report ot print to the laserjet4 ?
>
>i keep getting the report to print to the printer set up when the report was designed.
>
>i can redirect the report by using
>report form myreport to print prompt
>
>when the prompt comes up I can go to a different printer, but i would like to do it with code.
>
>Thanks
>don C
You need to clear out the info about the printer the report was originally done for. Open the report like a table (USE myreport.frx) and blank the EXPR, TAG, TAG2 memo fields for the first record. You will need to do this any time you do MODIFY REPORT on this report form. It should now go to the currently selected printer.