如何使用winspool.drv API在热敏打印机上打印图像? [英] How to print Image on Thermal printer using winspool.drv API ?
本文介绍了如何使用winspool.drv API在热敏打印机上打印图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用winspool.drv API在热敏打印机上打印图像?
我知道一种方法是使用PrintDocument进行打印,但我想通过以下方式打印使用API。
提前谢谢。
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.
推荐答案
AFAIK PrintDocument只是一个.NET包装器Windows打印系统API
您想要使用热敏打印机快速打印吗?然后学习打印机的命令语言(ESC / POS,ZPL,EPL,无论它是什么),然后创建所需的命令,将图像转换为这种打印机语言,并使用http://support.microsoft.com/kb/322091 [ ^ ]
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 http://support.microsoft.com/kb/322091[^]
这篇关于如何使用winspool.drv API在热敏打印机上打印图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文