打印机通信俘获 [英] Printer Communication Capture

查看:192
本文介绍了打印机通信俘获的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我需要张贴这在其他地方让我知道。

If I need to post this elsewhere let me know.

我们有一些旧的软件,多数民众赞成被重新编写的,它使用为PrinterDriver到propriatery打印机。

We have some old software thats being re-written, that uses a printerdriver to a propriatery printer.

我需要重写软件绕过了打印驱动程序,直接进入到打印机。我有打印机通信的规格,那很好,但做的是监控通信到打印机以查看其内容(从现有的软件,即时通讯重写),并比较它的规格,什么什么标识我将它发送进行验证。

I need to rewrite the software bypassing the print driver and go directly to the printer. I do have the specs for the printer communication, thats fine, but what Id like to do is monitor the communications to the printer to view its contents (from the existing software that Im re-writing) and compare it to the specs, and what I will be sending it for validation.

我要确保我不是缺少什么。

I have to make sure Im not missing anything.

这是我如何能够做到这一点?

Any ideas on how I might be able to accomplish this?

感谢

推荐答案

要捕捉你必须基本选项的流量。

To capture the traffic you have to basic options.

1。使用软件

如果您使用的是以太网,您可以使用一个程序一样的 Wireshark的 USBTrace 来捕获的数据包被发送出去。有对USB类似的项目。

If you are using ethernet, you can use a program like WireShark or USBTrace to capture the packets that are being sent out. There are similar programs for USB.

2。使用硬件

另一种选择是使用外部逻辑分析仪。这基本上是一个盒子,坐在中间的计算机和捕获所有数据的打印机,然后使用软件来解码。有一些可用的廉价选项(USBEE,总线海盗和的总相比格尔

Another option would be to use an external logic analyzer. It's basically a box that sits in-between the computer and the printer that captures all the data, then uses software to decode it. There are some inexpensive options available (USBEE, Bus Pirate, and Total Phase Beagle.

我自己的USBEE,我已经用它来。调试一个简单的USB设备。它的工作原理不够好,该软件是有点麻烦,但。

I own a USBEE and I've used it to debug a simple USB device. It works well enough for that. The software is a little clunky though.

这篇关于打印机通信俘获的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆