Export the current doc to pdf

Hi,

I need to prompt the user to export the document while submits the request. But the request needs to be exported to PDF. and its a client based application. How can i implement this??? Is there a way??

thanks in advance,

kk