The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Printing

  • Robert Fant
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 4 maanden geleden #4401 door Robert Fant
Printing werd gestart door Robert Fant
I posted this earlier in "General Chat" but got no response.
Maybe this is where I should have posted.

Nonetheless,
I am using a "Plain Text" page.
There is enough stuff on this page that adds it's own scroll bar.

The problem I'm having is that when I print the page, only the stuff that is visible (scroll bar all the way up) prints. The rest is ignored.

How can I get it to print everything on the page?

Thanks,
Robert

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 4 maanden geleden #4402 door tom
Beantwoord door tom in topic Printing
Hi,

As far as I can tell, you cannot. This is not specifically a Xerte problem. It is how browsers print content with (internal) scroll bars.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Robert Fant
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 4 maanden geleden #4403 door Robert Fant
Beantwoord door Robert Fant in topic Printing
Hi Tom,

That cannot be completely accurate. I create "worksheets" for my classes, using JavaScript. I even have a script for page-breaks and everything prints nicely.

Here are two pages, one written in JavaScript only, one similar but WITHIN Xerte:

1) JavaScript page

2) Xerte page

I just need to figure out what I'm not understanding.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 4 maanden geleden #4404 door tom
Beantwoord door tom in topic Printing
Of course you can this in code. But at this point in time, it's not handled in Xerte itself. You would need to add the code yourself.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 4 maanden geleden #4405 door ronm
Beantwoord door ronm in topic Printing
Try this...
enable resuming so that you can generate a link direct to your page 2 e.g. will have #resume=2 on the end of the url
then on your page 2 where you want them to print add that link with &display=1024,1800 on the end
adjust the 1800 to be whatever display your inner content without scroll bars.

Might work?
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: JohnSmith
Tijd voor maken pagina: 1.274 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo