I am querying about the Hookprinter which intercept data which is sent to a printer. Can you please let me know how it works exactly please? Does the print job passes through theer to be manipulated or does it simply sniffs raw data sent to the printer?
Thanks for your message, HookPrinter SDK will install a layer between printing application and spooling system (printer), such as,
Printing application -> HookPrinter -> Spooling System (Printer)
so, when you print a document to Windows Printer, the print job will be passed to HookPrinter first, HookPrinter can do anything to the print job, such as, analyze print job, convert print job to PDF, Image and other formats, and so on, after that, HookPrinter layer will forward the print job to original printer again, the printing process will continue.
Please notice, HookPrinter may not support all type of applications and printers, for example, if an application does control the printer without via Spooling System, HookPrinter will fail to support this type of application or printer.
VeryPDF has aPro product, Pro product does support both "- er" and "-forwardprinter" two options. "- er" option will capture everything that you sent to any Windows Printer, it works 100% same as HookPrinter SDK product. However, if you just want to print a document to docPrint first, and then forward to other printers, you can use "-forwardprinter" option, for example,
"C:\Program Files (x86)\docPrint Pro v8.0\artprint.exe" -forwardprinter
After you set the options, click "Save&Close" button to close the setting dialog, when an user print a document to docPrint, docPrint will process the print job first, and then redirect the print job to predefined printer (or associated printer) automatically.
"-hookprinter" and "-forwardprinter" are two total different printer capture and forwarding methods, you can choose either one according to your requirements.