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:
- save print job pdf/jpeg/bmp on hard disk.
- 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,
- i know lcmstartdocport() calls createfile(), lcmwriteport() calls writefile(), seems these 2 function communication "kernel-mode port driver"?
- it seems need grab raw data & save local disk?
any suggestion? thank you!
Comments
Post a Comment