printing - How to grab print content in Print Monitor API & save it to a file? -


my requirement:

user click 'print' button in software can implement following jobs:

  1. save print job pdf/jpeg/bmp on hard disk.
  2. send print job printer , print.

i learning print monitor sample in few days, following msdn's wdk port monitor samples, don't know grab print content, acorrding msdn, port monitor send raw data kernel-mode port driver,

  1. i know lcmstartdocport() calls createfile(), lcmwriteport() calls writefile(), seems these 2 function communication "kernel-mode port driver"?
  2. it seems need grab raw data & save local disk?

any suggestion? thank you!


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -