>Since I installed MS Office on my computer, I have a "Microsoft Office Document Image Writer" in my printer list. I found practical to test documents printing with this, but each time I choose this printer, I loose my VFP's environment (including path, so my app fire an error bacause it didn't find the database). With other printer (local, network even generic text) I have no problem.
>
>Any idea is welcome.
As a workaround you can always save your path and current directory and restore them after REPORT FORM command.
I think I had similar problem with printing into Adobe Writer...
e.g.
local lcPath, lcCurDir
lcCurDir = fullpath("")
lcPath = set('path')
report form ...
cd (m.lcCurDir)
set path to &lcPath
If it's not broken, fix it until it is.
My Blog