Naomi:
That code is changing the system default printer but did not change the Visual foxpro default printer. Look like we are not in the same page. I changed manually the default printer using windows while my application is running. When I switch to the appllication and go to print a report and invoke the printer setup from visual foxpro it show my original printer as my default instead of the one that I just changed.