Printing from embedded version in an LMS

16 views
Skip to first unread message

Oscar Levin

unread,
Aug 23, 2025, 12:01:58 PMAug 23
to PreTeXt development
Suppose you embed a canvas page in an iframe inside your LMS.  This is easy with the embed button.  But now your student wants to print the page or download a PDF.  Options:
  1. You provide a PDF in your LMS and include a link right above the iframe.  
  2. You provide a link to the original pretext page right above the iframe (something like "Printable version").
  3. PreTeXt automatically adds a "Print" button or link in the page when it is loaded in the iframe (using "?embed" as we do anyway).
A subcase of 2 is that the link could go to "url?print" which automatically opens the print dialog.  This, or option 3, would require a little be of extra pretext development (but pretty easy).

Option 1 is less great since updates are not going to be available unless you rebuild a pdf and repost it.

I'm sticking from 2 for now, but wanted to record this and see if there is wider interest.

(Chrissy and I talked about this Thursday, and she had convinced me that this is a waste of time.  But I'm procrastinating so I need a waste of time.)

Mitch Keller

unread,
Aug 24, 2025, 6:07:42 PM (14 days ago) Aug 24
to prete...@googlegroups.com
Yes, it would be nice to have something like this. I would prefer not to have 1 since as you note it can end up with things out of sync and also the guidance we’re receiving here on accessibility is not to provide both HTML and PDF to students digitally. (PDF is fine to make dead tree versions to pass out and students can make a PDF themselves from the HTML if they need it for a notetaking app.)

Which of these would work well/better if someone is using SCORM as their way of posting things?

--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/b6182554-3a4b-4d93-b0b5-24b66ea8ee42n%40googlegroups.com.


Oscar Levin

unread,
Aug 24, 2025, 7:54:40 PM (14 days ago) Aug 24
to PreTeXt development
Good point about scorm.  That would require option 3.  I will need to think about how to have that turn on automatically.  

Mitch Keller

unread,
Aug 25, 2025, 10:58:38 AM (13 days ago) Aug 25
to prete...@googlegroups.com
Actually…I’m not sure anything needs to change. I just tested adding a worksheet to my syllabus (We don’t start until next week, so I’m still at that stage.) and putting it into Canvas both via SCORM and as an embed of a page on the open web. In both cases, clicking the print preview button on the worksheet and then clicking print brings up a print dialog that is only showing me the worksheet to print.

Oscar Levin

unread,
Aug 25, 2025, 1:26:13 PM (13 days ago) Aug 25
to PreTeXt development
Yes, thankfully worksheets and now handouts do the right thing if you click the print preview and then print buttons.  It's other sections that are trouble, in particular a syllabus in my case.  Can't put a syllabus in a handout, at least with subsections being used.  Printing them still looks pretty good, but you need to trigger the print from inside the iframe.
Reply all
Reply to author
Forward
0 new messages