Printing event on C#

前端 未结 4 737
萌比男神i
萌比男神i 2021-01-25 17:26

How can I keep track of Printer\'s activities such as:

  • When did printing start?
  • How many pages have been printed out? etc
4条回答
  •  渐次进展
    2021-01-25 17:53

    Perhaps use the Spooler API to get going? I've not used this before, but I recon it'll involve a fair amount of P/Invoke.

    http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/a7160b44-0984-48c4-afef-b9a6ee4a8483

提交回复
热议问题