Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fox 2.5 print error in windows 98

Status
Not open for further replies.

nallen

IS-IT--Management
Oct 20, 2003
10
US
I have a computer whose hard drive was replaced. The user 'copied' the Fox directory containing her program onto the new drive and had problems. I added the path to her autoexec file and errors were fixed, but.... her printing does not work. If I run the application (using foxpro.exe) from within Windows 98, and try to print anything, it displays a GPF and the application quits or it tries to print but just continuously spits out blank pages to the printer.

She is running FoxPro 2.5 and trying to print to an HP LaserJet 5 network printer (network is NT). I've made sure the printer port is lpt1: in windows. I tried using the HP LJ III windows driver and that didn't work. It can't print to the screen from within foxpro either. I tried running the application in DOS and installed a local printer to lpt1 and that works fine. But, it's not a solution for her.

The application uses R&R Report Writer 5 for all reports. It sends a command something like "Run/0 runtime rrunin 5" or something like that to print. (sorry, i'm not at the machine now to get the exact command.) If I open the report in R&R, it will print fine.

Please help - I'm not a Fox for Dos programmer (I know Visual Fox) so I'm clueless as to what this 'new' pc may be missing - some type of windows system parameters??? Any thoughts would be appreciated.

Thanks,
Nicole
 
What printer was used when the reports were designed? It could be that they were designed when a different printer was installed as the default. You may need to change that in the reports themselves, or install a fake version of the printer driver corresponding to the original printer.


-Dave S.-
[cheers]
Even more Fox stuff at:
 
You might check the paths that are in the rrunin.dbf. Open the table up and make sure table paths match what is on your restored drive. There is usually a path to the report's master table.

I don't you are missing anything system-wise. R&R 5.0 just requires the runtime file and that's pretty much it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top