>I have had a printer selection problem. Using "set printer to" will not allow me to choose a networked printer (win95 peer to peer over Novell). Futher I looked at Mircosofts Web site and saw that I could change to default printer using API calls. I did this (storing the default printer, setting the default to the printer chosen and then back again) and this did not work (the coded example from the WEB site did not work).
>
>It is not satisfactory for me to use PROMPT on the REPORT FORM command because I cannot detect if the user chose cancel and also if the user chooses to preview the report they get the option of selecting the printer icon whilst previewing and this does not allow me to give the user the selection of a printer at that point.
>
>Has anyone else has a similar problem to this and solved it ?(incidentally I reinstalled WIN95 and VFP5.0 because my sanity was near breaking).
Did the example from the MS Site update the WIN.INI file to change the printer? And, if so, did it inform the open windows of the change via SendMessage()?
George
Ubi caritas et amor, deus ibi est