从 PHP 脚本与扫描仪对话
我经营一家小企业,但我需要在收到的信件和发票方面更有条理。这就是我想要实现的目标:
当我收到纸质发票或其他一些信息时,我会将其放入扫描仪托盘中并留在那里。
每 15 分钟,我的 Linux 盒子询问我的扫描仪是否有任何东西要扫描,如果有,则启动扫描过程并将文件放入文件夹中。
任何人都可以为我指明如何通过 PHP 脚本与扫描仪对话的正确方向,例如“有什么要扫描的吗?”和“开始扫描,将文件放在这里”...
I run a small business but I need to be somewhat more organised in terms of those letters and invoices i receive. This is what I want to accomplish:
When I receive a invoice or some other information on paper, I would place it in my scanners tray and leave it there.
Every 15 minutes my linux box ask my scanner if there is anything to scan and if so starts the scanning process and place the file in a folder.
Could anyone point me in the right direction to how I can talk to my scanner from a PHP-script, like "Are there anything to scan ?" and "Start scanning, place the file here"...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
phpSane,一个扫描仪的 Web 前端。但在内部,它只是
exec
的scanimage
命令行工具。如果我是你,我就会用这个。scanimage
仅在 Linux 上可用。There's phpSane, a web frontend to your scanner. Internally it just
exec
's thescanimage
commandline tool though. That's what I would use if I were you.scanimage
is only available on Linux though.