• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Certificate printout right-justified, cannot center image

Community Beginner ,
Jun 29, 2023 Jun 29, 2023

Copy link to clipboard

Copied

Gentlefolk,

This could be an issue of being too clever by half, but...

I have a Captivate project that has a certificate with user name and date inserted by advanced actions. That part works fine.

I included a PRINT button at the bottom that when clicked executes:

window.print();

 

The certificate displays at the far-right margin, making printout not correct. For if the the prinout is enlarged so it roughly covers a landscape letter, the certificate image then goes to a second page.

 

I have, in Captivate, moved the image to the far left of the stage, and this helps, but then it makes the Captivate presentation look flaky.

 

What I want is for the print command to center the image, not have it peg to the right side.

 

Does this make any sense? Suggestions for a solution? 

 

Thank you!

Views

93

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 29, 2023 Jun 29, 2023

Copy link to clipboard

Copied

Unfortunately, there is not a lot you can do with JavaScript to manipulate the print settings after executing window.print(); to launch the dialog. And Captivate's Advanced Actions are no help in that area either.

 

So, if you want complete control over your certificate you really need to launch it as a separate document rather than just trying to print off a slide in Captivate.  The tricky part is that the document you launch and print must contain information extracted from the Captivate module (e.g. the user name. date they completed the module, success or fail, etc) and for that you definitely DO need JavaScript skills.  The best document file format to put all of this into is PDF, because nearly every web browser will be able to render it, but that also requires more JavaScript to create.

 

You can do all of this yourself, or you can pay someone else.  Here is one paid solution to create a custom printable PDF certificate for Captivate.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2023 Jun 30, 2023

Copy link to clipboard

Copied

Thank you, rod. Sadly, your post confirms my Googling. The paid service looks perfect! I will have to see of my people will go that route.

 

I appreciate your responsiveness and knowledge. This group is an amazing and invaluable resource.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2023 Jun 30, 2023

Copy link to clipboard

Copied

LATEST

^^^Rod^^^ < geesh, proof before enter, Wallbaum....>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources