How to integrate

Top  Previous  Next

You have to follow these steps for integrating novaPDF SDK in your application:

 

1. Install novaPDF SDK

When installing novaPDF SDK, there is also installed on your computer novaPDF Printer Professional. You will see a "novaPDF Pro v5" printer in your "Printers and Faxes" list.

 

2. Take a sample and test it.

See What sample to choose topic for directions how to choose the best sample for your situation.

 

3. Copy relevant code from the sample in your application.

Be sure you include all next steps from samples:

start a print job and write to the printer device context (using functions like CreateDC, StartDoc, StartPage, TextOut,...). Or open a file and print it with other methods, like calling ShellExecute().
customize novaPDF Printer settings using INovaPdfOptions COM interface (for instance set the output file name and folder, document info,...). If you do not wish to install and use the COM interface, you can write these settings directly in registry. See Registry keys topic for a list of all registry keys.
register Windows messages to receive the printing events (page finished, document finished, errors...)

 

4. Test how your application prints to novaPDF printer.

When you print to novaPDF printer, the generated PDF files have the "Created with novaPDF..." text written on the bottom of all pages. To remove this text please read the How to make the release build topic.

 

5. Install novaPDF Professional Server edition

If you want to install novaPDF printer as a shared network printer or if you want to install it on a Terminal Server, you have to install the Server edition instead of the Desktop edition. The installer is located in the novaPDF SDK installation folder, Installer \ novapsv.exe