Capturing a print job

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
henrique
Posts: 1
Joined: Wed Jun 18 2003

Capturing a print job

Post by henrique »

Hi,

We want to develop a Visual Basic application that intercept a print job from any windows application and ask the user if he wants to convert the job to a PDF instead of printing it. Can be done? Do we need to create a print driver to do it?

We tried to open files and print them sucessfuly using VB6 SP5 and your eval version, but we need to intercept a print job as well.

I thank you in advance.

henrique
kamleshvgujarathi
Posts: 39
Joined: Fri Jan 09 2004
Location: Bombay ( INDIA)
Contact:

This is the solution only you will have to do.

Post by kamleshvgujarathi »

Hello,

The PDF Converter product fires the EnabledPre event each time output is
sent to the Converter. You will simply need to trap that event to know when
the PDF Converter has been access.

This situation is detailed on pages 146, 147 and 148 of the "Common Driver
Interface 210.pdf" document which is shipped with the product.

Hope this helps.

:D

Thank you.

kamlesh@itshastra.com
Post Reply