I am running Foxpro 2.6a for Windows with the patches on a Linux file server with Windows 2000 operating systems. We print receipts as follows in order to get the form length, etc. to work properly:
set console off
set device to file c:\recfile
set margin to 0
@ say ...
set device to screen
set console on
set printer to
copy file c:\recfile.txt to ltp1
This works fine and has had no problems unless we print a payment agreement. After a payment agreement has been printed, we consistently get a Resource Manager internal consistency error. The payment agreement prints as follows:
set device to printer prompt
set printer on
@ say ....
set printer off
set device to screen
set printer to
It also works fine.
I have set resource off, tried it without the set print on/off, left out set print to, etc. I always get the error. I have searched for information and only found that there was a bug in newer versions of VFP which they have fixed, but even then there was no workaround.
This is run on five PCs, each with a local receipt printer. The payment agreements are printed on another shared printer. They don't have problems printing from other programs on the network, just can't print reciepts after printing a payment agreement. Does anyone know of a work around or something else to try?
set console off
set device to file c:\recfile
set margin to 0
@ say ...
set device to screen
set console on
set printer to
copy file c:\recfile.txt to ltp1
This works fine and has had no problems unless we print a payment agreement. After a payment agreement has been printed, we consistently get a Resource Manager internal consistency error. The payment agreement prints as follows:
set device to printer prompt
set printer on
@ say ....
set printer off
set device to screen
set printer to
It also works fine.
I have set resource off, tried it without the set print on/off, left out set print to, etc. I always get the error. I have searched for information and only found that there was a bug in newer versions of VFP which they have fixed, but even then there was no workaround.
This is run on five PCs, each with a local receipt printer. The payment agreements are printed on another shared printer. They don't have problems printing from other programs on the network, just can't print reciepts after printing a payment agreement. Does anyone know of a work around or something else to try?