Login | Register | FAQ
Anonymous

Print button?

+ Post a reply

5 posts Page 1 of 1


Print button?

by axex122 » Thu Jul 12, 2012 8:51 pm

I wonder how i make a print box. I want it to print a PDF file.
User avatar

axex122

  • Posts: 4
  • Joined: Tue Jun 26, 2012 9:03 am

Re: Print button?

by atik » Fri Jul 13, 2012 4:28 am

You can use javascript window.print() function.

Code: Select all
<a href="javascript:window.print()">Print</a>
User avatar

atik

  • Posts: 472
  • Joined: Mon Oct 17, 2011 4:55 pm

Re: Print button?

by jiteshshinde » Fri Jul 13, 2012 11:36 am

i agree with akit. It work.
User avatar

jiteshshinde

  • Posts: 1
  • Joined: Thu Jul 12, 2012 11:10 am

Re: Print button?

by aris » Mon Jul 23, 2012 1:22 am

or just
Code: Select all
<button onClick="window.print();">Print</button>
User avatar

aris

  • Posts: 23
  • Joined: Sun Apr 15, 2012 6:00 pm

Re: Print button?

by Websites101Online » Mon Sep 17, 2012 11:10 am

Are you looking to add a "PRINT" button?

I think it would be cool if there was a way you could do "Select to be Printed"

and

"Print All"

but you can pretty much do that with CTRL + P
User avatar

Websites101Online

  • Posts: 20
  • Joined: Tue Sep 04, 2012 12:48 am
  • Location: Atlanta, Georgia, United States of America
--
Free Tutorials, Guides, and Tips at www.Websites101Online.com


+ Post a reply

Page 1 of 1