I have the unenviable task of creating a customer statement report in VFP 5.1 to print on pre-printed custom size forms on a line printer. In my test setup, I can get all to work as long as I created the form with the particular printer that I have in my office selected. I did go into the Printers folder of Windows 98 and create a custom form size that matches the statement forms.
The problem will arise when a new customer gets this program and has a different printer. I got the KB document titled "How to Control Printer Attrubutes at Run Time" (Q133163) and I thought my problem was solved. When I execute the steps shown in this article (which amounts to re-writing the EXPR field in the .FRX), and then clear out the TAG and TAG2 fields, the printer always reverts to 8 1/2 x 11 size paper. If I leave TAG and TAG2 alone, all works well, but I doubt that it will in a new environment.
Has anyone tackled this gorilla?
Dick Harrold
=========================================
Dick Harrold [DickHarrold@Yahoo.com]