BATCH PDF CREATION

I want to create PDF of multiple files present in a single Folder.

Can anyone please help me out with this...?

There is a code download link at the bottom of this page:
http://www.nxjournaling.com/content/pdf-exporter-class

It includes code to export pdf files from all the prt files in a chosen folder.

I tried with last code provided above, but facing some issue, showing variable declaration "NXJ_PdfExporter" not defined.

I was referring to the actual code download link at the end of the article and not the code snippets within the article itself. The link is reproduced below:

PDF Exporter Class

The link above will download a .zip file of "ready to run" code as opposed to the code snippets in the article.