Hiya JimN,
Nahhh...it's not that simple...the old FP program is going the right things, codewise, it just does this weird printer hostile takeover when running the old code under VFP (doesn't happen when running under FP2.6 DOS, which it was written for).
>Hi JohnK,
>
>Going way back in memory, I think you need something like a Set PRINTER OFF and possibly a SET DEVICE TO SCREEN before that.
>
>Assuming that you mean FPD and not FPW (if FPW then possibly a SET DEVICE TO DEFAULT???).
>
>Good luck,
>
>Jim N
>
>>Hi All,
>>
>>Was running an old FP program that used SET DEVI TO PRINT and @..SAY for a report. The report ran (looked nasty, though) but then from that point on Windows returned a port conflict of some sort when trying to print "normally" from Word or Excel or VFP. I had to reboot, eventually.
>>
>>I'm running Win98SE and an HPLJ 4L with the HPLJ 4L driver, VFP6 SP3.
>>
>>Any ideas on why this is happening or how to get it to stop happening?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05