简体   繁体   English

是否有任何用于 ESC/POS 命令的虚拟打印机驱动程序在编程时进行测试?

[英]Are there any virtual printer driver for ESC/POS commands to test while programming?

I am writing a sample program to send raw data to ESC/POS printers (not a specific but printers supporting esc/pos in general) using C# .net.我正在编写一个示例程序,使用 C# .net 将原始数据发送到 ESC/POS 打印机(不是特定的,而是一般支持 esc/pos 的打印机)。 Here is the link: http://support.microsoft.com/kb/322091这是链接: http : //support.microsoft.com/kb/322091

So, as you can I am using that above guide to send raw data.因此,我尽可能使用上述指南来发送原始数据。 But, I do not have a physical printer available while I am coding.但是,我在编码时没有可用的物理打印机。 So, I am looking for a temporary solution for basic testing.所以,我正在寻找基本测试的临时解决方案。

Are there any virtual printer drivers available where I can send the raw data from my application to and see how it looks?是否有任何可用的虚拟打印机驱动程序可以将原始数据从我的应用程序发送到并查看它的外观? For example: you can install virtual pdf printers etc. But, I need one that can parse the esc\\pos and output in either *.pdf or any images or text formats.例如:您可以安装虚拟 pdf 打印机等。但是,我需要一个可以解析 esc\\pos 并以 *.pdf 或任何图像或文本格式输出的打印机。

I'm not sure if this is still applicable for you, but I've found this solution:我不确定这是否仍然适用于您,但我找到了这个解决方案:

https://www.colorpilot.com/emfprinterpilot.html https://www.colorpilot.com/emfprinterpilot.html

I hope that's something you were looking for.我希望这是你正在寻找的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM