>I am trying to print to lpt1: where lpt1: is not selected as the default
>printer but vfp keeps outputting to the default printer, which is on a printer
>server
>
>any ideas
>Thanks
>
>Brian O'Donovan
Let the user select a printer with GetPrinter(). Store it to a variable.
Select the printer with SET PRINTER TO NAME.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)