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

Printing

  • Robert Fant
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #4401 par Robert Fant
Printing a été créé par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 9 ans 4 mois #4402 par tom
Réponse de tom sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Robert Fant
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #4403 par Robert Fant
Réponse de Robert Fant sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 9 ans 4 mois #4404 par tom
Réponse de tom sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 9 ans 4 mois #4405 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: JohnSmith
Temps de génération de la page : 0.150 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo