>VFP5a SET PRINTER TO doesn't work? Or is there a trick somewhere? The print driver always ended up to a particular driver despite issueing the command.
use SET PRINTER TO NAME instead to specify a printer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TO [DEFAULT | NAME WindowsPrinterName] Sends printer output to the default Windows printer or to a specific Windows printer. Windows printer names are stored in WIN.INI.
You can use GETPRINTER( ) or APRINTERS( ) to determine the names of the currently installed printers. For example, the following command displays the Windows Print Setup dialog box and makes printer you select the printer to which printed output is directed:
Better to use SET PRINTER TO NAME GETPRINTER( ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~