Create a pdf file programatically


I have a console application which will open the application in a browser. I would like to automate the process to create a pdf file without clicking on the PDFCreator link in the toolbar.

Is there a option where i can save a pdf using pdfforge.dll. If not can you let me know if there are any other options to achieve this.

I need it urgently. Can anyone please help me out.