OPOS 收据打印机数据嗅探器/分析器
我正在向打印到 USB 连接的 OPOS 收据打印机的应用程序添加一些功能。系统运行xp。
我想查看传递到收据打印机的原始数据以及让打印机进行物理打印。
我有什么办法可以做到这一点吗?我查看了一些端口监视器,例如 高级 USB 端口监视器,但它们仅检测和监视本机操作系统可访问的设备,而非 OPOS 设备。
有什么想法吗?
I am adding some functionality to an application that prints to a USB connected OPOS receipt printer. The system runs xp.
I want to see the raw data that gets passed to the receipt printer as well as have the printer physically print.
Is there any way I can do that? I looked some port monitors such as Advanced USB Port Monitor but they only detect and monitor devices that are accessible by native Operating System and not OPOS devices.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下载并安装 OPOS 通用控件的“调试”版本,而不是“运行时”版本。他们会发出您正在寻找的跟踪信息。
http://www.monroecs.com/oposccos_current.htm
注意不要部署调试版本在您的生产环境中,因为您可能会违反某些数据安全要求。
Download and install the "debug" version of the OPOS common controls, instead of the "runtime" version. They will emit trace information you're looking for.
http://www.monroecs.com/oposccos_current.htm
Be careful not to deploy the debug version in your production environment, as you might violate some requirements for data security.
只设置打印队列来保留打印的文档并使用十六进制编辑器(例如带有十六进制编辑器插件的 notepad++)怎么样? (标记为不稳定,但它工作正常。其他十六进制编辑器可用)。你的眼睛需要一段时间来适应代码,但这就像在一段时间后阅读矩阵一样。
How about just setting the print queue to keep printed documents and use a hex editor, such as notepad++ with the hexeditor plug-in? (marked as unstable but it works fine. Other hex editors are available). It takes a while for your eye to adjust to the code but it's just like reading the matrix after a while.