Intercept print Jobs in VB6

Dave Fyfe
Dave Fyfe used Ask the Experts™
I would like a small piece of VB6 code to intercept print jobs whenever any prints are sent to any installed printers in Windows XP/Vista.  I've an activex called MsgHook which looks like it will listen out for requests.

I already have the code inplace for what would happen when a job is sent to the printer.

Can anyone assist?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2010

Rather than give you a tutorial as to how to do it. I would advise you to check PDF Creator software which is open source and build in VB 6. in this software you will find code to intercept Print Jobs.

Here is its URL:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial