ReRoute your one of your lpt ports to the com port using command mode lpt1=com1 (or lpt4=com2) or whatever. Then print to that port in clipper as per normal.
I gather the problem related to xp security and permissions - ian boys seem to know more about that but my suggestion above is an easy...
screen:
Right Click on the shortcut to the dos window you use - or, if you've associated a program with the shortcut, that shortcut, then properties->layout, and adjust the screen buffer size - as you want it...
for autoexec.bat commands:
right click on my...
Thank you Ian - will do that sometime. I have opened a dos window 'as administrator', and when I try the fwrite then I get no ferror() - ie zero - but my com printer also did not respond. But it works fine via the lpt port as described above. (We have had the same sort of problem on many win 200...
Boss
I have also concluded it to be a permissions problem - but have no idea how to fix it! I am a local administrator on my own machine, but have no such rights on the domain. Maybe the domain rights is the problem, or is there a way to change the access to com ports alone?
Rj
If you use a 'set device to print, set printer to com1' approach, or a 'nHandle := fopen("com1"); fwrite(nHandle, data)' approach, you could get away by redirecting output on lpt ports (without migrating your app!).
1) change com1 in the set printer to command, or the fopen...
What do you wish to do via the comm ports? It seems that one can read them quite well through clipper via a nHandle := fopen("COM1", FO_READONLY), but the writng is a problem. However, using mode LPT3=COM1, and then writing to lpt3 works to send information out. This may help if your...
Hi
If I recall correctly we have had this error when we used temporary files opened under an alias - using the same alias as we would use for the permanent table. Then, in the procedure, close the alias, use permenent table with same alias, set index back to the index made for the temporary...
Hi David - thanks for the respones
The structure of the files are as follows - just do a dbcreate with aDBF as structure array.
aDbf := {}
aAdd(aDbf, {"RECEIPT" ,"N" , 12 , 0 })
aAdd(aDbf, {"CASHIER" ,"C" , 5 , 0...
We have been using DBFCDX RDD in Clipper 5.2(e) for some time with good resuslts. Recently got intermittent GPF's on dbcommit() and 'commit' commands after adding new records to some *.dbf files. The file in question has two tags, consisting op 5 and 6 columns in the database combined to make up...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.