Create PDF document of print formats on single click

Hi,
Is there any way to serve the PDF document by making a single click? Like right now,we will load the appropriate document(stock entry) and click on print and then PDF.I just want a single click to generate PDF on click of button in document(stock entry) and i want separate button on each print formats, so when i click the particular button the PDF documents with particular print format should generate on single click.

Thanks