jaymukh
17th January 2006, 19:20
During Cost price calculation , system has error and we didn't get the report but there is tmp file created, but its not easily readable.
Hos to get a exact report or ascit file out it.
I saved the tmp file...
Baan IVc
Thanks in Advance

mark_h
17th January 2006, 21:15
Well you could just do a lp to some printer and see if that works. Or you could always write a program to run ttstpconv on the text file in question. You could make a quick session to just prompt for a text file and run ttstpconv and convert to ascii. Search the board for ttstpconv - there is sample code in the code and utilities forum. Your program need not be as fancy, but it might work. This assumes that the tmp file is a report file. If this is the input file to the report then you need different code to read it in. I think report files use ^B to separate the fields. You can run any report in debug mode to see how to handle a report input file.

naabi0
17th January 2006, 22:04
I beleive you can run the report again just to get it in the device que and then replace the new temp file with the old one then go to the device que and reprint
the one you just run.