Question Printing to Epson TM-T88III receipt printer with printer native fonts

rup

New member
Joined
Dec 3, 2009
Messages
1
Programming Experience
Beginner
I am trying to write to Epson TM-T88III receipt printer using vb.net 2005. I am using PrintDocument class. Using system fonts is too slow to print so I wanted to use printer native fonts. But my application replaces the printer fonts with system fonts when I try to print.
Here is the code:
'to create font
f_header = New Font("FontA42", 12) ', FontStyle.Bold)
'to print
g.DrawString("A D M I T O N E", f_header, Brushes.Black, 23, y)

Can any one tell me how to accomplish this printing with printer fonts -- "FontA42" is my printer font?
Looks like I need to use Win32API. Can I create the instance of printer font with Win32API and then use g.DrawString and use that font to print?
Please help.....

Rup
 
Top Bottom