Implementing PRINT Functionality Using JavaScript

1. Add a button to the Form/Page.

2. On the “onClick” event of this button, call the window.print() javascript function.



Now on clicking this button the print window pops up from where you can select the desired printer and print your form/page.


~ by Neha Sinha on February 1, 2008.

One Response to “Implementing PRINT Functionality Using JavaScript”

  1. Hi,

    Thanks for your code

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: