thermal printer font problem
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
thermal printer font problem

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
tamilmaran s
Guest





Posted: Tue Dec 07, 2004 1:31 pm    Post subject: thermal printer font problem Reply with quote

hi,
Now we are working in the firmware development for thermal printer.
One of the requirement is that the printer should have 10 character
set with 3 different size. Actually the printer head getting 1/0
corresponding to the bitmapped hex value of the character. But we
don't know, how to get the bitmapped hex value of each character. Is
there nay free tool/application in the net, which convert the ttf
format to the bit mapped binary one.

Actually the structure of the font file of each character set is like
this:

struct
{
first_char;
last_char;
hight;
width;
index;
hex_value[];
}

Can anyone help regarding this ?...
Thank you
Back to top
Grzegorz Mazur
Guest





Posted: Tue Dec 07, 2004 7:51 pm    Post subject: Re: thermal printer font problem Reply with quote

tamilmaran s wrote:
Quote:
hi,
Now we are working in the firmware development for thermal printer.
One of the requirement is that the printer should have 10 character
set with 3 different size. Actually the printer head getting 1/0
corresponding to the bitmapped hex value of the character. But we

What do you mean by "bitmapped hex value"?

Quote:
don't know, how to get the bitmapped hex value of each character. Is
there nay free tool/application in the net, which convert the ttf
format to the bit mapped binary one.

Aha... Try freetype from sourceforge. Or hire me, I am already missing
my thermal printer project that got abandoned unexpectedly ;)
Back to top
Guest






Posted: Fri Dec 10, 2004 10:55 am    Post subject: Re: thermal printer font problem Reply with quote

hi Mazur,
thank you for your responce.i have found one tool
'Fontgen' , that will give the bitmapped value of each character as
what we want. But we don't have any control with hight and width of the
character. If you come across any tool regarding this , please inform
me. thank you.
Back to top
Gene S. Berkowitz
Guest





Posted: Sat Dec 11, 2004 8:10 am    Post subject: Re: thermal printer font problem Reply with quote

In article <1102658110.379099.274310@f14g2000cwb.googlegroups.com>,
tamilmaranz@gmail.com says...
Quote:
hi Mazur,
thank you for your responce.i have found one tool
'Fontgen' , that will give the bitmapped value of each character as
what we want. But we don't have any control with hight and width of the
character. If you come across any tool regarding this , please inform
me. thank you.



Metagraphics FontBuilder can generate a bitmap font from a TrueType
font. It creates a Metagraphics FNT format file, but it's a relatively
straightforward structure, which you could choose to use, or simply
extract the bitmaps from. You specify the point size characters you
want, for a specific DPI resolution.

--Gene
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB