Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi how to print bills in tamil on a roll paper by sending rawdata to printer using vb 2008

issues :

1 client is using dot matrix printer connected through usb.
2 using system.drawing ejects page as per default paper setting & paper could not be stopped at the end of the bill.
3 printing the bill using a batch file by invoking through shell command results in ????? being printed instead of the tamil characters.

sending rawdata in english to printer works fine, but we are not able to print the unicode characters. please help.
Posted
Comments
Sergey Alexandrovich Kryukov 30-May-14 21:59pm    
I understand this is POS, but why not using .NET printing which fully supports Unicode? Is the printing time a problem? Otherwise you would need to use some encoding supported by the printer, and who knows what is that? Anyway, in this case read the printer documentation or ask manufacturer customer service.
—SA

1 solution

IMHO, you should send native raw printer commands to the printer. Ask the printer manufacturer which lang (ESC/P maybe?) the printer supports AND if their firmware supports unicode AND in which format you should specify them.
As it is a dot-matrix printer, it'll always much better in all aspects to send raw commands than using System.Drawing.Printing classes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900