Skip to main content
Participant
November 1, 2007
Question

Adding a Print Icon to the Toolbar

  • November 1, 2007
  • 2 replies
  • 2021 views
I'm working on a online help for my company's product. I would like to add a printer icon to the toolbar in my online help so that users can click the icon to print instead of using the browser's print. Is it possible to do this? If so, how?
This topic has been closed for replies.

2 replies

Participant
November 1, 2007
Excellent! Thank you so much. Perfect.
Captiv8r
Legend
November 1, 2007
Hi all

Not doubting Colum's advice here, but if that fails to work, try grabbing a copy of my Skinny on Skins from my web site (site is linked in my sig line)

My reason for possible doubt is that I recall it's not as simple as just adding a print command as the toolbar action when clicked by the user. Yeah, it printed, but printed the frame the toolbar icon is in. You have to target the frame the topic is in. Unless, of course, your goal is to print the toolbar. In that case you should be fine.

Cheers all... Rick
November 29, 2007
Hi Rick, as you predicted, adding a print button was not as easy as adding javascript:Print.Click(); to the onclick field. It didnt work for me. I went to yoru Skinny on Skins page, but couldnt find the topic. Help!

Thanks
RoboColum_n_
Legend
November 1, 2007
Hi allen4009 and welcome to the RH community.
What you want is certainly doable with a little javascript. In your skin, create a custom button. In the Action tab enter javascript:Print.Click(); into the "OnClick" field. Generate and test. Viola!