Hmm, Tracy...
And change information in fields EXPR,TAG and TAG2 into report?
EXPR - No problem.
TAG - ???
TAG2 - No problem if values correct (structure DEVMODE)
MartinJ
>That is how we did it on literally hundreds of reports up until recently. However, many of our customers (we have around 700-1000 at any given time) are now purchasing GDI printers (or they come with their new systems) so we are converting our reports (sheesh, what a task!) to VFP reports using the report writer to accomodate both the older dot-matrix printers that use perforated halfsheets and laserjets and GDI printers. Using a report generated with the VFP report writer, I cannot set the page size to anything other than predefined form sizes in windows 2k and XP unless I setup a new form in windows on all OS versions that our customers use. I need to be able to do this programmatically from within VFP so the form exists in windows before they attempt to print the report after it has been redone using the report writer. For instance, if the customer is printing to a laserjet, then I want the pagesize to be letter, but if the customer is printing to halfsheets on a dot-matrix,
>then I want the papersize to be 8.5X5.5. Any ideas? All accommodating reports generated using the vfp report writer, not sending codes to printers as GDI printers don't accept codes.
>
>Tracy
>