Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Windows Forms-Text Mode Printing

Windows Forms-Text Mode Printing

Scheduled Pinned Locked Moved Windows Forms
winformssecurityhelp
3 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Thirugnanam Nataraj
    wrote on last edited by
    #1

    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

    B 1 Reply Last reply
    0
    • T Thirugnanam Nataraj

      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

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      Thirugnanam Nataraj wrote:

      malayalam font

      You mix up encoding and font. 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!

      T 1 Reply Last reply
      0
      • B Bernhard Hiller

        Thirugnanam Nataraj wrote:

        malayalam font

        You mix up encoding and font. 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!

        T Offline
        T Offline
        Thirugnanam Nataraj
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups