开发者

printer's paper is empty check in wpf

i am developing a application in wpf in which click event of the print, directly print the grid without print d开发者_运维百科ialogbox.

my problem is

1) how can we check that printer has no paper means how can we recognize that printer has no paper in WPF?

2) if the page is Jam then how can i know there is error in printing the page?

Please help me..

Thanks in advance.


Check this out.

PrintQueueStatus

http://msdn.microsoft.com/en-us/library/system.printing.printqueuestatus.aspx

PrintQueue

http://msdn.microsoft.com/en-us/library/system.printing.printqueue.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜