FoxPro has a 'feature' (AKA BUG) where it stores printer information in the FRX file. This will override the GetPrinter() information. Open the FRX as a table (USE MyReport.FRX) and empty the TAG and TAG2 fields. Open the EXPR field (they are all memo fields) and delete printer-specific information. Be sure you leave any lines concerning paper size or orientation.
HTH
Barbara
>I have a FoxPro report which prints to an HP printer with no difficulty. A problem occurs when I try to print to WinFax. If I issue the Command SET PRINTER TO NAME "WINFAX" and then check its status with GETPRINTERS() the result comes back WinFax but, the file prints to the HP.
>
>I have tried settig WinFax as the printer and printing to a file with the same result that the HP driver is used.
>
>Anyone have any idea what is happening?