Click here to Skip to main content
15,796,734 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
How to print Image on Thermal printer using winspool.drv API ?

I know that one way is to print by using PrintDocument but i want to print it by using API.

Thanks in advance.
Richard C Bishop 17-Feb-14 17:53pm    
You would have to check the API documentation.

1 solution

AFAIK PrintDocument is just a .NET wrapper on top of Windows printing system API
Do you want fast printing with the thermal printer? Then learn the printer's command language (ESC/POS, ZPL, EPL, whatever it is) and then create the needed commands to convert the image to such printer language and send it directly to the printer using[^]
Share this answer
DoingWork 19-Feb-14 2:15am    
Thanks for your reply. I tried example which is given in mentioned link but garbage text is printed instead of Image.
Marc Gabrie 19-Feb-14 15:07pm    
If you've specified the image as is, then it won't work. Remember that you have to send printer commands and the image needs to be converted to that by following the programming manual.
DoingWork 20-Feb-14 14:44pm    
My customer did not provide me any manual with printer. Perhaps they purchased it from repairing shop. It's model POS-80c. I'm biggner in programming. Plz post any example.

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