N2PDFPrint

(requires webPDF)

Start page  Previous page  Next page

 

N2PDFPrint ( <JobID>, <FileName> ) -> <ErrorCode>

 

Description

This function allows n2pdf to print a created or existing PDF file. Using various options under N2PDFOPTION_TOOLBOX_PRINT... allows things like defining an explicit printer, a page range, or the number of copies.

 

 

Declaration for LotusScript

Declare Function N2PDFPrint Lib LibName Alias "N2PDFPrintW" ( _

Byval JobID As LongByval FileName As Unicode String ) As Long

 

Parameters

<JobID> (LONG)

The number that is returned when N2PDFInit is invoked and which references the PDF file in the memory. You use this ID to control which PDF you want to access with the function.

 

<FileName> (Unicode String)

This parameter allows specification of a PDF document (incl. the data path) which is to be printed using the options which have been set. When “” is used, the PDF document that is currently being created by n2pdf is then printed. Printing is initiated after execution of the N2PDFProcess function.

 

 

Return

<ErrorCode> (LONG)

The code number of the error that has occurred when performing the function (see "Error Codes ").