|
-
Feb 26th, 2008, 01:49 AM
#1
Thread Starter
New Member
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
-
Feb 26th, 2008, 03:54 AM
#2
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
-
Feb 26th, 2008, 04:34 AM
#3
Hyperactive Member
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.
-
Feb 26th, 2008, 10:09 AM
#4
Re: DOS Mode Print in Custom Fonts
I'm not sure a Dot Matrix printer would even support those kinds of fonts.
-
Feb 26th, 2008, 01:30 PM
#5
Hyperactive Member
Re: DOS Mode Print in Custom Fonts
Some DMPs do support other languages. I have seen some supporting 2 languages other than english.
-
Feb 26th, 2008, 03:41 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|