Knowledge base
You are viewing 14 articles with the tag "sdk sample" and author "Lumi (Softland)"
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.
Hello World Visual Basic - SDK sample
Sample application that generates a pdf file with *Hello World* text from Visual Basic (VB).
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.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.
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).