>Hi,
>I had a program in VFP5 that used SET PRINTER TO PRINTNAME getprinter()
>to set the printer. In VFP9 that blows up
>I did:
>PRINTNAME=getprinter()
>SET PRINTER TO $PRINTNAME
>
>but the report does not go to the selected printer. It always defaults to the
>printer on the network the report was made and tested on.
>
>Any help would be great.
>
>Andy
Firstly, try
SET PRINTER TO NAME (PRINTNAME)
Edward Pikman
Independent Consultant