本文介绍了在Windows 8 RT中将ESC / POS命令发送到热敏打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

 

我们有餐厅的POS(销售点)软件,可在热敏打印机上打印收据。我们使用http://support.microsoft.com/kb/322091上的类将原始数据(文本和命令)发送到Receipt打印机。 

We have POS (Point of sale) Software for restaurants, which print receipts on Thermal printers. We are using class from http://support.microsoft.com/kb/322091 to send raw data (text, and commands) to Receipt printers. 

我们正在寻找从Windows商店应用程序(或任何共享的POS打印机,如果可能)向蓝牙打印机(支持ESC / POS命令)发送相同命令的解决方案。我们可以从IOS / Android做到 - 但找不到任何
的例子如何从Win 8应用程序中做到这一点。不确定它是否可能。 

We are currently looking for solution to send same commands to Bluetooth printers (which support ESC/POS commands) from Windows store app (or any shared POS printer if it's possible). We can do it from IOS/Android - but can't find any example of how to do it from Win 8 apps. Not sure is it even possible. 

我们正在使用C#,如果它意味着什么:)这里是打印机的例子  http://www.bixolon.com/html/en /product/product_detail.xhtml?pgNum=&prod_id=19&large_cd=0003&small_cd= 

We are using C# if it means anything :) and here is example of printer http://www.bixolon.com/html/en/product/product_detail.xhtml?pgNum=&prod_id=19&large_cd=0003&small_cd= 

谢谢

推荐答案

可能的情况是,您需要编写某种WinRT扩展程序,您的应用程序可以使用该扩展程序以更低的级别与驱动程序进行通信。我仍在搜索有关如何实现类似内容的文档,如果/我在b $ b找到某些内容时会发布。

The likely scenario is you'll need to write some kind of WinRT extension which is utilized by your app to communicate with the driver at a much lower level. I'm still searching for documentation on how to achieve something similar and will post if/when I find something.


这篇关于在Windows 8 RT中将ESC / POS命令发送到热敏打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 21:27