Skip to main content
Participant
January 23, 2008
Question

Trying to print from within Captivate 2 Prjoect

  • January 23, 2008
  • 3 replies
  • 335 views
I'm trying to print out a certificate of completion from within Captivate. Is anyone aware of a Javascript that will allow a screen to print from within a captivate 2 project?
This topic has been closed for replies.

3 replies

Inspiring
January 24, 2008
Im using HTM/SWF with an LMS.

What I did was create one asp.net certificate template for all the captivate LMS courses.
I placed a button on a cap slide and use it to call a Javascript function and send to the function the name of the particular cap course.

This js function uses the course name sent to it and the students name retreived from the LMS, opens the asp.net certificate template in a new window.
Places the name of the student and name of the course in the certificate.
Participating Frequently
January 23, 2008
If you're publishing to HTM/SWF, you can also just insert a button with an Execute Javascript action of:

window.print();

The only drawback is that it will print everything visible, including the playbar. On the plus side, you can use the text input/output widget from the Adobe Captivate Exchange to put the user's name on the certificate.
Captiv8r
Legend
January 23, 2008
Hi DianaWes and welcome to our community

Fellow Adobe Community Expert Paul Dewhurst offers a Print widget on his site. You may view it by clicking here. If you like it and it works for you, hold the applause and toss some change his way!

Other than that, I've seen folks simply link out to a .PDF containing a certificate and print from the PDF.

Hope something here helps a smidge... Rick