Knowledge base
You are viewing 25 articles with the tag "sdk sample"
View all articles (reset filter)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.Delphi PDF - Hello World sample
Hello World (Delphi PDF) sample is a simple Windows console application that prints one page with the "Hello World from Delphi!" text to the novaPDF Printer.
It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made with calls to the global Printer object defined by Delphi. Text is printed using Canvas.TextOut method.
It generates a "Hello World.pdf" file in the working folder.
Word OLE (Delphi PDF) - SDK sample
Convert MS Word document to PDF from Delphi using Word OLE automation.
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".
Hello World (C++) - SDK sample
Sample .cpp SDK code for printing "Hello World" text to the novaPDF Printer.
Java PDF writer - SDK sample
Basic "Hello World" java console application that generates a PDF file.
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.
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.
Hello World Visual Basic - SDK sample
Sample application that generates a pdf file with *Hello World* text from Visual Basic (VB).
Hello World (C#) - SDK sample
Hello World CSharp sample is a simple Windows console application that prints one page with the *novaPDF says Hello World from C#* text to the novaPDF.
It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made using the package "System.Drawing.Printing"
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.
MFC Scribble - SDK sample
Sample SDK code (csharp) of how to integrate for printing "Hello World" text to the novaPDF Printer from remote computer.
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.Hello World VBNet - SDK sample
Sample how to print a *"Hello World"* pdf file from VB.NET using novaPDF Printer.
PDF Reports - SDK sample
Sample SDK code (.cpp) for printing "Hello World" text to the novaPDF Printer from remote computer.
Hello World (Network) - SDK sample
Sample SDK code (.cpp) for printing "Hello World" text to the novaPDF Printer from remote computer.
Multiple printers SDK sample
Multiple printers sample is similar with the Temporary printer sample but it uses several threads.
VBNet Converter - SDK sample
This SDK sample shows how to convert an existing file to PDF by using the
ShellExecute
function in Visual Basic.Temporary printer SDK sample
Temporary printer sample is similar with Hello World sample but it uses temporary printers. It demonstrates the use of
AddNovaPrinter
and DeleteNovaPrinter
.Word OLE VBNet - SDK sample
Sample VBNet app that converts a MS Word document to PDF using OLE Automation.
[novaPDF SDK] SetDefaultPrinter doesn't work after RestoreDefaultPrinter is called
novaPDF isn't set as the default printer after calling RestoreDefaultPrinter() function.
[novaPDF SDK] - I want to change novaPDF printer option settings, do I need novaPDF SDK for that?
Do I need novaPDF SDK to change printer options? Can I generate pdf files without the notice on the bottom of the pages mentioning novaPDF?
[novaPDF SDK] - If I set an option value via COM, will that be persistent, or will the option be reverted when the program terminates?
If I set an option via COM, that be persistent after the program terminates?
[novaPDF SDK] - Do I have to open or activate a profile before trying to set an option for the printer driver?
Do I need to activate a profile when I need to set its options via COM object?