Windows Forms-Text Mode Printing
-
Hello, I need sample code for text mode printing in malayalam font in windows forms authentication.please any one can help me in this regard. Thanks Thiru
-
Hello, I need sample code for text mode printing in malayalam font in windows forms authentication.please any one can help me in this regard. Thanks Thiru
Thirugnanam Nataraj wrote:
malayalam font
You mix up
encoding
andfont
. With modern .Net applications, you do not need to worry about non-ASCII-characters: .Net uses Unicode, and Malayalam is well defined there. Probably, you are used to some encodings of the ISCII standards. Those ISCII encodings are 8bit encodings, and the text files written with such an encoding do not have the byte marks required to automatically find out the encoding. Consequently, when you show it in a text editor with the wrong "font" selected, it may look like Hindi/Devanagari or totally garbage. But by selecting the "font" of your text editor, you actually selected the encoding. So just type your Malayalam text into the text boxes of your Windows forms application, it will work. Do not copy it from such an 8bit text file as described above! -
Thirugnanam Nataraj wrote:
malayalam font
You mix up
encoding
andfont
. With modern .Net applications, you do not need to worry about non-ASCII-characters: .Net uses Unicode, and Malayalam is well defined there. Probably, you are used to some encodings of the ISCII standards. Those ISCII encodings are 8bit encodings, and the text files written with such an encoding do not have the byte marks required to automatically find out the encoding. Consequently, when you show it in a text editor with the wrong "font" selected, it may look like Hindi/Devanagari or totally garbage. But by selecting the "font" of your text editor, you actually selected the encoding. So just type your Malayalam text into the text boxes of your Windows forms application, it will work. Do not copy it from such an 8bit text file as described above!Hi Bernhard, Thanks for your response. can you send me the sample code for how to print malayalam fonts in dos-mode printing in windows forms application. it's very urgent need. Looking forward your reply.. Thanks Thirugnanam