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
精彩评论