Confirm successful print programmatically in windows

后端 未结 1 1300
轻奢々
轻奢々 2021-01-05 17:16

My company is developing a financial application.
Now we have to deal with a new law that demands that we take different actions whether a receipt is printed or not.

1条回答
  •  清酒与你
    2021-01-05 17:24

    I am not aware of a fully managed way to perform this. Interop with FindFirstPrinterChangeNotification and FindNextPrinterChangeNotification might be required. You could also take a look at existing wrappers allowing to monitor the printer queue.

    0 讨论(0)
提交回复
热议问题