@mukeshrasm
That's easy to do, just click print and the dialogue box will appear. If no icon, go to File->Print or press Ctrl+P
Your pdf and doc programs already contain this functionality.
If you want this done in PHP, PM me, I have the whole code that already does this and more that I can easily give to you for free.
Dan