How to print MS-DOS text file
Hello,
I have MS-DOS files, every line ends with 0D0A(Hex) and every page ends with 0C(Hex). Users need print it or export to pdf as part of my program.
I tried load the file to string and fill TextObject with it. But there some snags. Inside files are chars as [], % etc. and FastReport interprets it as invalid expression. And I don't know how to print on next page when 0C(Hex) occured.
What is the best way to print such files with FastReport?
I use C# and FastReport .net
Thanks.
I have MS-DOS files, every line ends with 0D0A(Hex) and every page ends with 0C(Hex). Users need print it or export to pdf as part of my program.
I tried load the file to string and fill TextObject with it. But there some snags. Inside files are chars as [], % etc. and FastReport interprets it as invalid expression. And I don't know how to print on next page when 0C(Hex) occured.
What is the best way to print such files with FastReport?
I use C# and FastReport .net
Thanks.