Results 1 to 6 of 6

Thread: DOS Mode Print in Custom Fonts

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    3

    Exclamation DOS Mode Print in Custom Fonts

    hi frnds ,
    can u help me how print in custome fonts like Malayalam,Tamil the doc in Dos mode (Text Mode) in Dot Matrix Printer. Source help in VB6 . pls help me

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: DOS Mode Print in Custom Fonts

    in dos mode you can only print fonts that are in the printer firmware, normally courier and elite, plus size variations, bold and italic, etc
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Hyperactive Member
    Join Date
    Jun 2007
    Location
    Kerala, India
    Posts
    275

    Re: DOS Mode Print in Custom Fonts

    I dont think there is an easy way.

    You may have to find out how each character in the language is mapped.

    For this, you can send a textfile with all the ascii characters to the printer
    (set to the required font) and see which code stands for which character.

    The Printer manual may be of some help in this matter.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: DOS Mode Print in Custom Fonts

    I'm not sure a Dot Matrix printer would even support those kinds of fonts.

  5. #5
    Hyperactive Member
    Join Date
    Jun 2007
    Location
    Kerala, India
    Posts
    275

    Re: DOS Mode Print in Custom Fonts

    Some DMPs do support other languages. I have seen some supporting 2 languages other than english.

  6. #6
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: DOS Mode Print in Custom Fonts

    some high end dot matrix printers used to have font cartridges, but i haven't seen any of those since laser printers became the norm, printers sold in other countries may have local font options
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width