Popular Articles

Latest Articles


You are viewing 32 articles with the tag SDK

Unlicensed footer notice still shows up on PDF pages after registering novaPDF SDK

novaPDF SDK sends a request to create the PDF files to the printer driver that gets installed with the package, novaPDF for SDK. By default, if novaPDF SDK is unregistered, each page from the generated PDF file will contain a footer notice (that says the application is not registered). After you purchase a license and register novaPDF SDK, that footer notice won't be included in the generated PDF files. However, if that footer notice is still included in newly generated PDF files even if the Initialize function is called with the correct registration name and license key, here are some possible reasons:

Hello World (Network) - SDK sample

Hello World (network) sample is similar with Hello World sample but it can be used from network and print to novaPDF installed on a different computer. The sample requests the shared printer name in a dialog as "\\computer name\printer name" (for example if novaPDF is installed on WS1, then you should enter "\\WS1\novaPDF").

ASP.NET PDF generator - SDK sample

Hello World (ASP.NET PDF generator) sample is a simple ASP application that generates one PDF file containing the text "novaPDF says Hello World from ASP.NET". The PDF is created using the novaPDF printer driver and is saved in the “upload” folder. It demonstrates the basic use of the INovaPDFOptions interface. The printing job is done using the package System.Drawing.Printing

VCL Converter (Delphi PDF) - SDK sample

The VCL Converter (Delphi PDF) sample demonstrates how to convert an existing file by printing it to novaPDF Printer using the ShellExecute function. It also demonstrates how to set different options and manage profiles in your novaPDF development.

MFC Converter - SDK sample

The MFC Converter sample demonstrates how to convert an existing file by printing it to novaPDF using the ShellExecute function. It also demonstrates how to set different options and manage profiles. The same approach should be taken if you print using a "Print()" method from another object (like an internet browser or a report control). Just replace the ShellExecute call with the call of your Print method.

Hello World (C++) - SDK sample

Hello World sample is a simple Windows console application that prints one page with the "Hello World" text to the novaPDF Printer. It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made with Windows API calls OpenPrinter, StartDoc,… It generates a "Hello World.pdf" file in the working folder.

Distributing novaPDF with 32bit applications that run on Windows x64

When integrating novaPDF SDK in a 32bit application that will be distributed on Windows x64 systems too, you have to take into account some aspects regarding the default behavior of our installer. One of these is the novaPDF installer that contains both 32 bit and 64 bit versions of the novaPDF driver and of the COM interface. Because of its built-in automatic detection, when installing novaPDF on Windows x64 computers (via your application), the 64bit version of the driver and COM interface are installed (and not the 32bit version).

Java PDF creator (Word OLE) - SDK sample

The Word OLE (Java) SDK sample is a basic Java console application that converts a MS Word document (in this sample the default location for the source document is C:\temp\test.doc) to PDF using Word OLE automation and j-Interop along with novaPDF.

Java PDF writer - SDK sample

Hello World (Java) sample is a basic Java console application that generates (using the novaPDF printer) one PDF file containing the text "Hello World from Java2!". It demonstrates the basic use of the INovaPDFOptions interface with j-Interop.

Word OLE (Delphi PDF) - SDK sample

The Word OLE (Delphi PDF) sample is a simple Windows console application that converts a MS Word document (C:\Test.doc) to PDF using Word OLE automation. The sample can be used to elaborate more complex code and applications with the novaPDF SDK.

PDF Reports - SDK sample

PDF Reports Sample is an Access database with one table and one form. On the form you can set several options for the novaPDF and then press a button to generate a PDF file. A report is made on the table and it is sent to novaPDF. It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made using the object "Application.Printer" Basically the sample creates a new profile called "Access Profile", sets the new profile as active, sets the user options from form controls, opens and prints a report, and restores original printer settings.

Hello World Visual Basic - SDK sample

Hello World VB sample is a simple Windows console application that prints one page with the "novaPDF says Hello World from VB" text to the novaPDF Printer. This sample can be the base of a more throughout application code that can benefit VB developers.

How to set programmatically the page related settings (page size, layout) via novaPDF SDK

The page related settings have a different behavior than the other settings (save, compression, fonts, security,...). While the last are specific to the novaPDF printer driver, the page related settings are used for all printer drivers and can be set by system calls (check the DEVMODE Windows structure).

How to license novaPDF SDK

You can use the novaPDF Co-Branding tool to customize the setup you have to integrate with novaPDF SDK or novaPDF OEM.

MFC Scribble - SDK sample

The MFC Scribble sample extends the standard MFC Scribble sample with the generation of PDF files and by using the novaPDF SDK application. It demonstrates how to integrate novaPDF SDK in your documents and also view the MFC architecture.

Word OLE Visual Basic - SDK sample

Word OLE VB sample is a simple Windows console application that converts a MS Word document (C:\Test.doc) to PDF using Word OLE automation. This sample demonstrates how to convert the existing Test.doc sample by printing it to novaPDF SDK Printer.

How to add/remove a temporary PDF printer each time my application creates the PDF?

By default when integrating novaPDF SDK with your application, you will print via the COM to a novaPDF Printer installed and showing in the list of Printers for the user. However, we offer a way to avoid displaying to the end user any printers in the list of Printers, thus if you do not wish a novaPDF printer visible in the Printers list, you could use this approach:

VB Converter - SDK sample

The VB Converter sample demonstrates how to convert an existing file by printing it to novaPDF Printer using the ShellExecute function. It also demonstrates how to set different options and manage profiles in the novaPDF SDK application.

CSharp Converter - SDK sample

The CSharp Converter sample demonstrates how to convert an existing file by printing it to novaPDF Printer using the ShellExecute function. It also demonstrates how to set different options and manage profiles. The same approach should be taken if you print using a "Print()" method from another object (like an internet browser or a report control). Just replace the ShellExecute call with the call of your Print method.

Word OLE CSharp - SDK sample

The Word OLE CSharp sample is a simple Windows console application that converts a MS Word document (C:\Test.doc) to PDF using Word OLE automation. This can be a part of a larger application that works seamlessly with the novaPDF SDK development.