>I have the reports with size 5"x42" for Epson LQ 1170 (only this printer allow thus cutom size) to print to excel files.
>
>I used a utility to add a printer form "4200". But I can't setup page and printer programmatically.
>
>Now, I must define those reports for each customer's computer when distribute my software.
I don't quite see what you mean saying 'to print to excel files', but you can always distribute report files separately and in run-time you may open frx file and make any programmatic changes in Expr field of the first record to set correct paper size. I just wonder why can't you do it in design time once.
Edward Pikman
Independent Consultant