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

September 7, 2010

novaPDF 7.2 was released.

Changes in version 7.2:
  • New: Extended Email functionality
  • New: Added macros for folder name in Save settings
  • New: Added Profile name macro for file and folder names
  • Fix: Fixed images from Excel 2010

You can download version 7 here: Download novaPDF 7.2

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.

Hello World (network) sample is similar with Hello World sample but it adds network functionality:
  • it requests the shared printer name in a dialog as "\\computer name\printer name" (for example if novaPDF Pro is installed on WS1, then you should enter "\\WS1\novaPDF Pro v3")
  • it automatically registers novapi4.dll if not registered. novapi4.dll must be in the same folder with the HelloWorld (network).exe file.

You can share the folder containing HelloWorld (network).exe and novapi4.dll on your network and run the executable from any other computer in the network, with no need to install anything else. It will generate a "HelloWorldNet.pdf" file in the same folder.

Source Code snippets (in addition to Hello World source code)

{
//...
//initialize COM
hr = CoInitialize(NULL);
if (FAILED (hr))
{
  MessageBoxW(NULL, L"Failed to initialize COM", L"novaPDF", MB_OK);
  return hr;
} 

// register the novapi2.dll COM module found in this executable's directory
hr = RegisterNovaCOM(TRUE); 

//create one NovaPdfOptions instance
INovaPdfOptions *pNova = 0;
hr = CoCreateInstance(__uuidof(NovaPdfOptions), NULL, CLSCTX_INPROC_SERVER, __uuidof(INovaPdfOptions), (LPVOID*) &pNova);
if (FAILED(hr))
{
  MessageBoxW(NULL, L"Failed to create novaPDF COM object", L"novaPDF", MB_OK);
  return hr;
}
DWORD dwSize = 256;
WCHAR strWorkStation[256]; 

//find out computer name
GetComputerNameW(strWorkStation, &dwSize); 

PrinterNameDlg dlg;
//construct printer name as "\\computer name\printer name"
dlg.m_strPrinterName.Format(L"\\\\%s\\%s", strWorkStation, PRINTER_NAME); 

//get printer name from user
if (IDCANCEL == dlg.DoModal())
{
  pNova->Release();
  CoUninitialize();
  return hr;
}
CString strPrinterName = dlg.m_strPrinterName; 

//initialize NovaPdfOptions and pass printer name
// if you have an application license for novaPDF SDK,
// pass both the registration name and the license key to the Initialize() function
// hr = pNova->Initialize((LPCWSTR)strPrinterName, L"<registration name>", L"<license key>");
hr = pNova->Initialize((LPCWSTR)strPrinterName, L"", L"", L"");
//...
} 

//Register novaPDF COM from novapi2.dll
//novapi2.dll should be in the same folder with the application
HRESULT RegisterNovaCOM(BOOL bRegister = TRUE)
{
HRESULT hr = E_FAIL;
WCHAR szFileName[_MAX_PATH] = L""; 

//find out application path and name
DWORD dwRes = GetModuleFileNameW(NULL, szFileName, _MAX_PATH); 

if (dwRes > 0 && dwRes < _MAX_PATH)
{
  WCHAR szDir[_MAX_PATH], szDrive[_MAX_DRIVE]; 

  //get application path
  _wsplitpath(szFileName, szDrive, szDir, NULL, NULL);
  wcscpy(szFileName, szDrive);
  wcscat(szFileName, szDir);
}

//add COM dll name
wcscat(szFileName, L"novapi6.dll"); 

//load COM dll
HMODULE hNova = LoadLibraryW(szFileName); 

typedef HRESULT (STDAPICALLTYPE *DllRegisterServerFunction)(void);
DllRegisterServerFunction fun = NULL;

if (hNova)
{
  if (bRegister)
  {
    //get the address of DllRegisterServer function
    fun = (DllRegisterServerFunction) GetProcAddress(hNova, "DllRegisterServer");
  }
  else
  {
    //get the address of DllUnregisterServer function
    fun = (DllRegisterServerFunction) GetProcAddress(hNova, "DllUnregisterServer");
  }
  if (fun)
  {
    // call DllRegisterServer (or DllUnregisterServer)
    hr = fun();
  }
}
return hr;
}
Add comment
Name:
Email:
* Comment:
(Use BBcode - No HTML)


Others in this Category
document [novaPDF SDK] How to generate a pdf file without the Save As dialog
document MFC Scribble - SDK sample
document Hello World (C#) - SDK sample
document MFC Converter - SDK sample
document CSharp Converter - SDK sample
» More articles
RSS

Legal Notices Terms of Use

Copyright Softland 2010. All rights reserved.