Buy Now

novaPDF Professional
$62.44 $49.95

novaPDF Standard
$53.27 $39.95

novaPDF Lite
$24.94 $19.95

Awards & Reviews

  • 1_ico
  • 2_ico
  • 3_ico
  • 4_ico

Lockergnome feature

novaPDF is really neat

"novaPDF – Print To PDF Without Breaking The Bank. After downloading and installing the program (which takes all of one minute) you’re ready to print to a PDF. Any program that can print via the standard Windows printer interface can print to PDF (i.e. convert a file to PDF), including text, Word, Excel, […] , novaPDF will convert your files into PDF format without making your wallet cry."

Editor’s Review

This application is great

"[...] Pluses: novaPDF supports multiple profiles. This means that all your settings can be easily saved or loaded. Another great feature is the program’s ability to put bookmarks into the PDF document it creates. Drawbacks/flaws: [none] In conclusion: This application is great for generating PDF documents out of any type of printable data."

Indezine Review

Provides a good balance

"[...] novaPDF provides a good balance between price and performance -- it's a very usable option between free and highly priced PDF creators so that you can provide PDF output capabilities to a large number of users at a reasonable cost."

AC Review

Extremely easy to use

"[...]I highly recommend NovaPDF as a great and very simple way to create standard PDF documents that are fully compatible with Adobe Acrobat Reader. Nova PDF creator is an extremely easy to use and simple PDF creator"

Latest News

April 12, 2010

novaPDF 7.1 was released.

Changes in version 7.1:
  • Added visibility layers for watermarks
  • Added Document Creator option
  • Added Page Scaling options
  • Added option to remove PDF after emailing
  • Added Lithuanian language

You can download version 7 here: Download novaPDF 7.1

Stay Updated

To join, simply enter your email address below and click on Subscribe.

About Us

Softland, the company that develops novaPDF, achieved the Microsoft Certified Partner status with an ISV/Software Solutions Competency. Microsoft Certified Partner
Share
Add comment
Votes: 0
Comments: 0
Note: To be able to use the samples you must install novaPDF SDK as samples work only with it. Download it here: nova PDF SDK.

PDF Reports Sample is an Access database with one table and one form. On the form you can set several options for the novaPDF Printer and then press a button to generate a PDF file. A report is made on the table and it is sent to novaPDF Printer. 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.

Source Code

Option Compare Database
Option Explicit

Private objPDF As Object

Const strIAProfile As String = "Access Profile"
Const strPDFDriver As String = "novaPDF Pro v6"
Const bIAPublicProfile As Long = 0

Private Sub cmdCreatePDF_Click()
 
On Error GoTo Error_cmdCreatePDF_Click

  Dim strActiveProfile As String
  Dim strDefaultPrinter As String
  Dim nActiveProfilePublic As Long

  ' create the NovaPdfOptions object
  Set objPDF = CreateObject("novapi.NovaPdfOptions")

  ' initialize the NovaPdfOptions object
  ' if you have an application license for novaPDF SDK,
  ' pass both the registration name and the license key to the Initialize() function
  ' pNova.Initialize2 strPDFDriver, "<registration name>", "<license key>"
  objPDF.Initialize2 strPDFDriver, "", "", ""

  ' Store the Default Printer.  * Note - Access cannot use the objPDF.SetDefaultPrinter command as it does not
  ' update Access internally fast enough.  You must use the Application.Printer command instead.

  strDefaultPrinter = Application.Printer.DeviceName

  ' Get the Active Profile
  objPDF.GetActiveProfile2 strActiveProfile, nActiveProfilePublic

  ' Add new profile
  objPDF.AddProfile2 strIAProfile, bIAPublicProfile

  With Me

'**************************************************************************************
      ' Set save options
      objPDF.SetOptionLong2 PDF_SAVE_PROMPT, !optSaveOptions, strIAProfile, bIAPublicProfile
      objPDF.SetOptionString2 PDF_SAVE_FOLDER, !txtSaveFolder, strIAProfile, bIAPublicProfile
      objPDF.SetOptionString2 PDF_SAVE_FILE, !txtFilename, strIAProfile, bIAPublicProfile
      objPDF.SetOptionLong2 PDF_SAVE_CONFLICT_STRATEGY, !cboWhenFileExists, strIAProfile, bIAPublicProfile

      ' After Save Action
      objPDF.SetOptionLong2 PDF_ACTION_OPEN_DOCUMENT, !chkOpenViewer, strIAProfile, bIAPublicProfile
      objPDF.SetOptionLong2 PDF_ACTION_USE_DEFAULT_VIEWER, !chkOpenViewer, strIAProfile, bIAPublicProfile

      ' .... other options

      ' Set the PDF print driver.
      objPDF.SetActiveProfile2 strIAProfile, bIAPublicProfile

      ' Set the Default printer.
      Set Application.Printer = Application.Printers(strPDFDriver)

      ' Run the selected report and create a PDF file.
      DoCmd.OpenReport "rptSMZipCode"

      ' Return to previous settings
      objPDF.SetActiveProfile2 strActiveProfile, nActiveProfilePublic
      objPDF.DeleteProfile2 strIAProfile, bIAPublicProfile

      ' Restore the Default Printer.
      Set Application.Printer = Application.Printers(strDefaultPrinter)
 
End With

Exit_cmdCreatePDF_Click:
 
Set objPDF = Nothing
  Exit Sub
Error_cmdCreatePDF_Click:
  Debug.
Print Err.Number & ":" & Err.Description
 
Resume Next
End
Sub

Add comment
Name:
Email:
* Comment:
(Use BBcode - No HTML)


Others in this Category
document Hello World (C#) - SDK sample
document Hello World (Network) - SDK sample
document Hello World VBNet - SDK sample
document Can I order 2 single application licenses?
document Word OLE VBNet - SDK sample
» More articles
RSS

Legal Notices Terms of Use

Copyright Softland 2010. All rights reserved.