在VB.net中控制扫描仪/打印机电机 [英] Controlling a Scanner/Printer Motor in VB.net

查看:297
本文介绍了在VB.net中控制扫描仪/打印机电机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我负责构建和编程3d打印机.我正在使用旧的扫描仪(HP Scanjet 3570c)和旧的打印机(Epson Stylus Color 1160)进行打印.我想使用现有的未修改电路和驱动器来控制用于从vb.net程序驱动这些装置的步进电机.这可能吗?如果可以,怎么办?

所以也许像这样的比索代码:

Hi,
I am in the posses of building and programming a 3d printer. I am making it using an old scanner (HP Scanjet 3570c) and an old printer (Epson Stylus Color 1160). I would like to use the existing unmodified circuitry and drivers to control the stepper motors used to drive these devises from a vb.net program. Is this possible? If so how?

So maybe something like this peso code:

MoveX(F,100) – Moves the scanner motor 100 steps Forward
MoveY(B,100) – Moves the printer motor 100 steps Backwards 



抱歉,如果解释不好,很难解释

Kris



Sorry if this is explained badly it’s slightly difficult to explain

Kris

推荐答案

您可能必须为此开发自己的驱动程序(我强烈怀疑制造商会在用户程序中暴露如此低级的细节).在我看来,这将不是一个简单的任务.
You probably have to develop you own driver for that (I strongly doubt the manufacturers expose such low level details to user programs). That won''t be, in my opinion a simple task.


您将必须为此编写自己的驱动程序.您也不能在托管代码中执行此操作.这意味着没有VB.NET或C#或任何其他针对.NET Framework的语言.最好的选择是C/C ++.

实现这一目标的唯一方法是从HP和EPSON获得低级硬件文档.这仍然不是免费的,在编写此驱动程序之前,您将需要做大量工作.

希望您有使用Windows DDK和调试设备驱动程序的经验.
You''re going to have to write your own drivers for this. You cannot do it in managed code either. This means no VB.NET or C# or any other language targeting the .NET Framework. The best option is C/C++.

The only way you''re going to pull this off is to get the low-level hardware documentation from HP and EPSON. This still will NOT be free and you''re going to have a ton of work ahead of you writing this driver.

I hope you''ve got experience using the Windows DDK and debugging device drivers.


这篇关于在VB.net中控制扫描仪/打印机电机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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