Windows messages

Top  Previous  Next

novaPDF Printer messages

 

Message name

Event

WPARAM

LPARAM

NOVAPDF2_STARTDOC

sent when the printer driver begins processing the print job and generating the PDF file

0

jobID

NOVAPDF2_ENDDOC

sent when the printer driver finished processing the print job

0

jobID

NOVAPDF2_STARTPAGE

sent when the printer driver starts processing a new page

0

jobID

NOVAPDF2_ENDPAGE

sent when the printer driver finished processing a page

0

jobID

NOVAPDF2_FILESENT

sent when the printer driver finished generating the PDF file and sent it to the computer that started the print job

0

jobID

NOVAPDF2_FILESAVED

sent when the PDF file is received and saved by the computer that started the print job

0

jobID

NOVAPDF2_PRINTERROR

sent when an error occurred during the print job

error no.

jobID

NOVAPDF2_EMAILSENT

sent when the email option is enabled and a email with the generated PDF file was sent

0

jobID

NOVAPDF2_EMAILERROR

sent when the email option is enabled and there was an error sending the email with the generated PDF file

0

jobID

 

The following error numbers are sent by the printer driver, in the NOVAPDF2_PRINTERROR event:

1 - Error saving temporary PDF file on the printer server.         

2 - Error reading license information on the printer server.

3 - Error generating the PDF file.

4 - Print job was canceled

5 - Licensing error: too many copies running with the same license

6 - Client computer is not licensed

7 - Error sending email

8 - Error reading active profile from client computer

 

How to register windows messages

You can register windows messages using RegisterWindowMessage function. Here are some samples of how to do it:

MFC Converter

VCL Converter

VB Converter