Is printing from a lightbox possible?

Hi there,

I have created a lightbox to for a course progress tracker.  I added a print button with an execute JavaScript trigger (window.print(); ).  The trigger works fine, but when I publish, it prints the slide that was displaying when the lightbox was opened, rather than the lightbox.

Does anyone know of a way to print the lightbox?

Thanks!

Lisa

9 Replies
Lisa Pablos

Hi Jennifer - Yes, the trigger is on the lighbox slide, and the lightbox is on a player tab so that it can be accessed anywhere in the course.  Also, I am using the Modern player.

When I click on the print button on the lighbox, I get the slide that I was on when I clicked the lighbox tab on the player. 

I'll test it on the Classic player, though I hate to switch players after so many client reviews. 

Thanks

Jennifer Clarke

I hadn't thought of using a player tab that way. Very cool.

I put the trigger in a tab and it did print the lightbox slide, not the base slide, so no solution for you from me there. I tried both modern and classic players and the LB slide print each time, although the same weird split page thing also happens every time, but it is printing the LB slide. 

The only other thing I can think of is that an asset on your lightbox slide is corrupt. I've run into issues a couple of times where just replacing a shape has sovled a publishing problem.

Hopefully someone else will weigh in with a possible solution!

Lisa Pablos

Hi Jennifer, Thanks for working through this with me.  I actually created a new SL360 course and testing the print button and I did not get two pages, just the base layer.  I even tried launching the lightbox from a button on a slide rather than from a player tab.

I have attached my test file in case anyone else is able to weigh in.

Thanks, again

OWEN HOLT

I think it must be something in your browser security settings.  I published your file with 360 without making any changes. When I click the print button, I get the lightbox slide.  I did have to adjust some settings in my print window as it extended off the page, but once I adjusted my print window settings, this is what I had: