开发者

printer's paper is empty check in wpf

开发者 https://www.devze.com 2023-03-12 06:02 出处:网络
i am developing a application in wpf in which click event of the print, directly print the grid without print d开发者_运维百科ialogbox.

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

精彩评论

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