- Make sure that Printer Environment is not saved with report
- Add custom form(s) once on each PC. See http://www.berezniker.com/content/pages/visual-foxpro/add-and-delete-custom-printer-forms
- Before running a report, retrieve form # using http://www.berezniker.com/content/pages/visual-foxpro/enumerating-printer-forms
- Update Papersize in the FRX EXPR field to the retrieved one
- Run updated report
>i have created customer paper using the article
>
>"How to add/delete custom printer forms under Windows NT/2K/XP"
>
>
>i know the sizes required by my reports
>
>salesreport.frx && 14x12
>billreport.frx && 12x6
>voucher.frx && 8x6
>
>how i can set this size programmetically for my reports.
>
>can i do this OR every time my user should select the paper as required to print.
>
>i am not including my frx files in exe files.
>
>can i do this as below :
>
>
>
>use voucher.frx
>repl expr ....
>
>
--sb--