print variable - multiple lines of text
Apr 24, 2013
By
deb creghan
I have a course where the learner stops for reflections at various points in the course and then I have a final slide that pulls in the variables and allows the learner to print it for reference later. I can set the font size to 12 or 14 and it prints the same when the reflection comments are on a single line, but when they are multiple lines (i.e. lists) the font is unreadable when it's printed, even though I formatted the variables to be 12 or 14 font on this slide. I've attached screen shots. I'd appreciate any suggestions!
8 Replies
Deb, out of curiosity...might it be the text box settings where the variable reference resides?
You can set the Autofit option Mike references to "Do not Autofit" and make the box any size you want. That way it will always fit within the area you want, and I believe the text size will remain what you set initially. Of course, be sure you have the wrap text option checked.
Thank you both! I knew it was something simple that I missed. I set the text box to Do Not Autofit and resized it to fit in my shape and it worked beautifully. This is why I love this forum - thank you!!! Deb
Hello Deb,
Can you explain to me how you created the print button to print what is inside your text fields or your variables. I'm having a difficult time printing my text fields. I've used this Execute Javascript with the code javascript window.print(), which only prints a blank page. I then inserted the the references in the javascript print code and it prints nothing. Attached is an image of what I'm want to print.
Thank you,
You
Antionette- my apologies for the delay responding. The javascript I used is window.print();
It looks like yours doesn't have the ";" at the end. See if adding that helps.
deb
Hi Antoinette! I wanted to welcome you to E-Learning Heroes!
Thanks Deb for helping out!
Hi.
This is 5 years too late but how did you add this project variable? When I try and create a new variable, I only have 3 options.
Thanks
Iffaf
Hi Iffaf,
If you're looking to add variables to your course, you can follow the steps here. Any text entries you add will also create variables automatically.
As for the print option, I'm not a Javascript expert but we have a number of best practices and sample code detailed here.
This discussion is closed. You can start a new discussion or contact Articulate Support.