你怎么知道发送了哪个网络打印系统的命令 [英] How do you know which network printing system's command sent

查看:78
本文介绍了你怎么知道发送了哪个网络打印系统的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我附上了一个在信息显示中出错的程序

该程序将打印队列信息

该程序是用C#和Visual Basic编写。

我附上了一个凸出问题的屏幕图片



下载程序: [ ^ ]

http:// s5 .picofile.com / file / 8135471742 / ss_1_.jpg [ ^ ]



谢谢

Hi
I've attached a program that had errors in the information display
The program will print queue information
The program is written in C # and Visual Basic.
I've attached a picture of the screen with bulging problem

dowenload program :[^]
http://s5.picofile.com/file/8135471742/ss_1_.jpg[^]

Thanks

推荐答案

我的猜测是你得到的在作业完成假脱机之前有关假脱机作业的信息(页数和作业大小)。



您需要等待JobWritten事件.Spooled是的 - 在那个阶段,打印作业的所有数据都在假脱机程序中,因此您的查询将返回正确的页面大小/页数。
My guess would be that you are getting the information about the spooled job (number of pages and job size) before the job has finished spooling.

You need to wait for the "JobWritten" event where .Spooled is true - at that stage all of the data for the print job are in the spooler and so your query will return the correct size / number of pages.


Hi
Call me an example
Thanks


这篇关于你怎么知道发送了哪个网络打印系统的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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