与打印机驱动程序通讯 [英] Communication with Printer Driver

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

问题描述

你好..
如何从EPSON STATUS MONITOR 3获取状态打印机?我试图直接从驱动程序而不是Windows检测状态,
但是我只是从Windows中获取状态,而不是从DRIVER中获取状态,区别是:
如果从Windows执行打印后,则状态自动成功,尽管打印尚未完成.
好了,我该如何与打印机驱动程序进行通讯
我正在使用打印机EPSON LX-300 + II,delphi2010,Windows7.
有谁遇到过像我这样的问题??
如果您使用过其他编程语言,我也会收到示例代码片段示例,例如:C
请帮帮我.
谢谢...

hello..
How do I''m get the status printer from the EPSON STATUS MONITOR 3 ?, I''ve tried to detect the status direct from the driver, not from windows,
but I just get the status from the windows, not from DRIVER, the difference :
if from the windows after the printing is executed then the status is successful automatically, although printing not yet finished.
Well, how can I''m communication with the printer driver
I''m using printer EPSON LX-300+II, delphi2010, windows7.
does anyone ever have problems like me ???
I also received Example snippet code if you''ve used other programming languages​​, eg : C
Please help me.
thank...

推荐答案

如果进入Windows打印机设置,则可以绕过打印机的后台打印.我不知道W7到底叫什么,但是在Vista下,它的控制面板>>打印机>>右键点击您的打印机>>属性>>选择高级"标签>>选中直接打印到打印机"
这样,返回到程序的状态与打印机更近".请记住,您的打印机已被缓冲,因此在接收到所有数据之后,它仍可能在忙于打印.

彼得
If you go into the Windows Printer setup, you can bypass print spooling for the printer. I don''t know exactly what it''s called in W7, but under Vista, it''s Control Panel >> Printers >> right-click your printer >> Properties >> select ''advanced'' tab >> check ''Print directly to the printer''
That way, the status returned to your program is ''closer'' to the printer. Remember that your printer is buffered, so it can still be busy printing some time after it has received all the data.

Peter


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

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