Highlighted

Print Fucntion Stretches the Image Full Page on Captivate 9, Help!

New Here ,
Jun 15, 2018

Copy link to clipboard

Copied

I have added a button to execute java code: windows.print();.  This works beautifully when previewing the lesson in IE, but when I publish this lesson it stretches the image to fit the full page (see images below).  I have to make each page of this lesson printable.  Is there something different I can do with the Java code to print the standard ratio of the lesson?

Normal Print.PNG

Published Print.PNG

Views

109

Likes

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

Print Fucntion Stretches the Image Full Page on Captivate 9, Help!

New Here ,
Jun 15, 2018

Copy link to clipboard

Copied

I have added a button to execute java code: windows.print();.  This works beautifully when previewing the lesson in IE, but when I publish this lesson it stretches the image to fit the full page (see images below).  I have to make each page of this lesson printable.  Is there something different I can do with the Java code to print the standard ratio of the lesson?

Normal Print.PNG

Published Print.PNG

Views

110

Likes

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
Jun 15, 2018 0
Engaged ,
Jun 18, 2018

Copy link to clipboard

Copied

Looks like the print is defaulting to portrait and resizing to fit the page instead of using landscape. Some browsers (but not all) will obey the following addition to the CSS after publishing:

<style type="text/css" media="print">
 
@page { size: landscape; }
</style>

You could ask your users to ensure they have landscape printing selected, but some won't know how, of course. The other solution I've seen is to make a PDF of every page that needs to be printed and have the PRINT button link to the PDF for that page.

Likes

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
Reply
Loading...
Jun 18, 2018 0
Adobe Community Professional ,
Jun 18, 2018

Copy link to clipboard

Copied

You could consider publishing your course in pdf format to allow printing in a more controlled way.

Likes

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
Reply
Loading...
Jun 18, 2018 0
Most Valuable Participant ,
Jun 18, 2018

Copy link to clipboard

Copied

Sorry, Eric, some misunderstanding! If you publish a Captivate file to pdf, you get an interactive pdf (SWF-based), no way to have better printing from such a pdf which is in reality a SWF embedded on one page.

Likes

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
Reply
Loading...
Jun 18, 2018 0
Adobe Community Professional ,
Jun 18, 2018

Copy link to clipboard

Copied

that is a very good point, I used it in the past to avoid paper wasting and keep the size consistent.

Likes

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
Reply
Loading...
Jun 18, 2018 0
New Here ,
Jun 19, 2018

Copy link to clipboard

Copied

The previous developer was able to make the button work in IE without stretching the image when it printed, so I am trying to prevent duplicated my work by making PDFs if possible.

Likes

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
Reply
Loading...
Jun 19, 2018 0