>In this case the printer environment is save in the report. The problem occurs when the user print to a different printer that the environment is save for. The reports goes to the printer that save in the environment. Before VFP 9 was implemented we didn,t have this problem. The report was save to print to a specific tray because of the color need to be green rather on white paper. Before VFP 9 I could pick a tray what saving the report's environment. That change with VFP 9.
>
>So are you saying that I only have to invoke the SYS() command before I do the the REPORT FORM command. Sorry if I'm not quite understanding. How would foxpro know what report I want to modify?
I'm not sure about this function inner workings and I can not try this anyway. Did you try removing your blanking code and running SYS, then REPORT form?
If it's not broken, fix it until it is.
My Blog