>Hi friends:
>
>Part I
>
>VFP 5.0
>
>For printing in a different printer from the one I program I had to browse (hack) report file to change 3 fields and exclude such files from the proyect and distribuite them separately.
>
>VFP 9.0
>
>One of you told me this problem was solved but I had to open the report form and unselect "printer environnement"
>
>I did it
>
>I forgot about the problem (I believe about Santa Claus) I rebuild the project.
>
>But...
>
>You know...
>
>I wouldn't be here if it would had work...
>
>My client has to do what he doesn't want to do... Changing the paper size properties to print correctly every time he has to print a report.
>
>Is there any way the report takes the default printer settings no matter my printer settings?
Hi Hector,
Blanking out printer settings from FRX is not enough, you got to do it in a way which preserves page size and orientation.
Have look at XDIR download here, among other things you will find function which clears up printer settings from FRX in
the way suitable for distribution.
Subclass of XDIR provided there can clean up not only one FRX report, but all frx found along given path.
After you cleaned up FRX properly, issuing
set printer to name ( set('printer',2) )
report form ...
Should sent printing to default printer without problems you are describing.
HTH
Sergio